View Single Post
Old 08-15-2006, 10:02   #10
101
Guardian
101's Avatar
This member has helped support EntropiaForum in the past via donations.
101 Able101 Able101 Able101 Able101 Able101 Able101 Able101 Able  
  Activity Longevity
0/2017/20
Posts: 326
Gender: Male Ingame: Male
Avatar Name:
Winston Smith
Soc: Praetorian Guard
EFD: 18,066.99
Reputation: Able
Fame: 0 Achievements: 0

Quote:
Originally Posted by Falcon4½
It's definately something to do with the way Notepad initializes Unicode mode.

Unicode characters take two bytes instead of one. Many Windows files are stored in Unicode and you don't even know it because Notepad - the "tell it like it is" editor everyone trusts - hides the Unicode fact and shows it to you like it's plain text.

Something in this weird combination of binary digits switches Notepad into Unicode mode and starts mashing characters together to produce Unicode letters. Usually Unicode files have a small header to note that it's a Unicode file, but Notepad seems to ignore that.

There are some facts you need to know about this bug, though:
- It happens with pretty much ANY combination of four-three-three-five letters. As shown with "vote hof for mukke", "bush hid the facts", "this app can break", and "this txt are longs".
- The produced text WILL NOT translate from Chinese to English or whatever. The only reason you got words out of it before was because some individual characters mean full English words, so it was just working off that.

It's definately a strange bug. Hard to believe Notepad could completely discard the standard Unicode header and work off something completely different... but there you go. I never knew about this bug before... =P

if you save as unicode it doesn't happen, it seems to be something in the way it handles stuff that isn't unicode. Weird though.

I prefer the conspiracy theory personally.

Winston
__________________
It was a bright cold day in April, and the clocks were striking thirteen. Winston Smith, his chin nuzzled into his breast in an effort to escape the vile wind, slipped quickly through the glass doors of Victory Mansions, though not quickly enough to prevent a swirl of gritty dust from entering along with him.
George Orwell
101 is offline Reply With Quote