News:

So the widespread use of emojis these days kinda makes forum smileys pointless, yeah?

Main Menu

Even Notepad knows....

Started by iago, June 14, 2006, 05:42:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

iago

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

Warrior

This is dumb, try the same thing with "Rush hid the facts" or "Kush hid the facts"
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Newby

Does not work for me. File name matter?
- Newby
http://www.x86labs.org

Quote[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

Quote from: Rule on June 30, 2008, 01:13:20 PM
Quote from: CrAz3D on June 30, 2008, 10:38:22 AM
I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

GameSnake

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?

dark_drake

That's pretty cool! Now, why does it do that?
errr... something like that...

CrAz3D

Notepad must be a terrorist!!!!!!!!!

dark_drake

errr... something like that...

MyndFyre

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.
Quote from: Joe on January 23, 2011, 11:47:54 PM
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Quote from: Rule on May 26, 2009, 02:02:12 PMOur species really annoys me.

CrAz3D


Super_X

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!

CrAz3D

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!

iago

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.

Newby

Weird how it breaks in Windows yet not in wine? :|
- Newby
http://www.x86labs.org

Quote[17:32:45] * xar sets mode: -oooooooooo algorithm ban chris cipher newby stdio TehUser tnarongi|away vursed warz
[17:32:54] * xar sets mode: +o newby
[17:32:58] <xar> new rule
[17:33:02] <xar> me and newby rule all

Quote from: Rule on June 30, 2008, 01:13:20 PM
Quote from: CrAz3D on June 30, 2008, 10:38:22 AM
I'd bet that you're currently bloated like a water ballon on a hot summer's day.

That analogy doesn't even make sense.  Why would a water balloon be especially bloated on a hot summer's day? For your sake, I hope there wasn't too much logic testing on your LSAT. 

MyndFyre

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.
Quote from: Joe on January 23, 2011, 11:47:54 PM
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Quote from: Rule on May 26, 2009, 02:02:12 PMOur species really annoys me.

GameSnake


MyndFyre: Bush hid the facts worked for me but iago hid the facts did not.