Try this, it's really cool:
- Open notepad
- Type in, "Bush hid the facts" without quotes and with no newline at the end
- Save it
- Open it
It should be replaced with Chinese characters or something.
Weird?
More details later, maybe.. :P
This is dumb, try the same thing with "Rush hid the facts" or "Kush hid the facts"
Does not work for me. File name matter?
Quote from: iago on June 14, 2006, 05:42:25 PM
Try this, it's really cool:
- Open notepad
- Type in, "Bush hid the facts" without quotes and with no newline at the end
- Save it
- Open it
It should be replaced with Chinese characters or something.
Weird?
More details later, maybe.. :P
Why are you so anti-bush/america? Is this how all canadians act?
That's pretty cool! Now, why does it do that?
Notepad must be a terrorist!!!!!!!!!
Quote from: CrAz3D on June 14, 2006, 06:03:26 PM
Notepad must be a terrorist!!!!!!!!!
Let's invade it!!!
This is because Notepad attempts to determine the encoding (ANSI or Unicode) based on the types of characters in the file. If there's not a newline, it can't tell based on the newline character (which is wide in Unicode). "iago hid the facts" works too.
iago is a terrorist!!!!!!
Quote from: CrAz3D on June 14, 2006, 06:32:34 PM
iago is a terrorist!!!!!!
I call dibs on spearheading. I want to penetrate his defences!
Quote from: Super_X on June 14, 2006, 06:37:08 PM
Quote from: CrAz3D on June 14, 2006, 06:32:34 PM
iago is a terrorist!!!!!!
I call dibs on spearheading. I want to penetrate his defences!
penetrate away dude!
Obviously blaming Bush was a joke. If any of you took my original post seriously, you need to get your heads examined.
It happens with most (but not all) files that have a 4 letter words, two 3 letter words, and a 5 letter word. xxxx xxx xxx xxxxx.
Here are some examples:
this app can break
dead jfk gun shots
Mary had old lambs
And it doesn't happen with the following:
Mary had new lambs
This app can break
And apparently, some other combinations also work:
aaaa aaa aaa aaa
aa aaa aaa
And the best guess I've seen about the cause:
Quote_If_ you save a file that works from its "borked looking" state in
Notepad, you'll get a hint of what may be going on -- the file is
prepended with the 0xFF 0xFE Unicode marker. My guess -- this
weirdness is due to some peculiar, non-standard attempt to detect non-
flagged Unicode encoding, or some unusual/non-standard form of Unicode
encoding.
Weird how it breaks in Windows yet not in wine? :|
Quote from: Newby on June 14, 2006, 11:31:52 PM
Weird how it breaks in Windows yet not in wine? :|
Probably indicates a Wine API is broken.
MyndFyre: Bush hid the facts worked for me but iago hid the facts did not.
Quote from: MyndFyrex86] link=topic=6243.msg74676#msg74676 date=1150343846]
Quote from: Newby on June 14, 2006, 11:31:52 PM
Weird how it breaks in Windows yet not in wine? :|
Probably indicates a Wine API is broken.
Or a Windows API is broken and Wine fixed it, beknownst to them or not.
No, becasue if Wine was doing its job in the first place, and emulating the Windows API 100% then even a bug should call for sucessful emulation of said bug.
Incidentally, it's also a bug in notepad2. Which proves that it's an API thing.
Funny. You can select the encoding in the save dialog, though -- as I'm sure most of you noticed. :P