Author Topic: Even Notepad knows....  (Read 5216 times)

0 Members and 3 Guests are viewing this topic.

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Even Notepad knows....
« 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

Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Re: Even Notepad knows....
« Reply #1 on: June 14, 2006, 05:46:24 pm »
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

Offline Newby

  • x86
  • Hero Member
  • *****
  • Posts: 10877
  • Thrash!
    • View Profile
Re: Even Notepad knows....
« Reply #2 on: June 14, 2006, 05:53:05 pm »
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

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. 

Offline GameSnake

  • News hound
  • Hero Member
  • *****
  • Posts: 2937
    • View Profile
Re: Even Notepad knows....
« Reply #3 on: June 14, 2006, 05:56:31 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?

Offline dark_drake

  • Mufasa was 10x the lion Simba was.
  • x86
  • Hero Member
  • *****
  • Posts: 2440
  • Dun dun dun
    • View Profile
Re: Even Notepad knows....
« Reply #4 on: June 14, 2006, 05:58:49 pm »
That's pretty cool! Now, why does it do that?
errr... something like that...

Offline CrAz3D

  • Hero Member
  • *****
  • Posts: 10184
    • View Profile
Re: Even Notepad knows....
« Reply #5 on: June 14, 2006, 06:03:26 pm »
Notepad must be a terrorist!!!!!!!!!

Offline dark_drake

  • Mufasa was 10x the lion Simba was.
  • x86
  • Hero Member
  • *****
  • Posts: 2440
  • Dun dun dun
    • View Profile
Re: Even Notepad knows....
« Reply #6 on: June 14, 2006, 06:04:19 pm »
Notepad must be a terrorist!!!!!!!!!
Let's invade it!!!
errr... something like that...

Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Re: Even Notepad knows....
« Reply #7 on: June 14, 2006, 06:31:57 pm »
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.
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Our species really annoys me.

Offline CrAz3D

  • Hero Member
  • *****
  • Posts: 10184
    • View Profile
Re: Even Notepad knows....
« Reply #8 on: June 14, 2006, 06:32:34 pm »
iago is a terrorist!!!!!!

Offline Super_X

  • I suck.
  • Hero Member
  • *****
  • Posts: 1340
  • I suck!
    • View Profile
Re: Even Notepad knows....
« Reply #9 on: June 14, 2006, 06:37:08 pm »
iago is a terrorist!!!!!!
I call dibs on spearheading. I want to penetrate his defences!

Offline CrAz3D

  • Hero Member
  • *****
  • Posts: 10184
    • View Profile
Re: Even Notepad knows....
« Reply #10 on: June 14, 2006, 06:38:37 pm »
iago is a terrorist!!!!!!
I call dibs on spearheading. I want to penetrate his defences!
penetrate away dude!

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Even Notepad knows....
« Reply #11 on: June 14, 2006, 11:01:43 pm »
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.

Offline Newby

  • x86
  • Hero Member
  • *****
  • Posts: 10877
  • Thrash!
    • View Profile
Re: Even Notepad knows....
« Reply #12 on: June 14, 2006, 11:31:52 pm »
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

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. 

Offline MyndFyre

  • Boticulator Extraordinaire
  • x86
  • Hero Member
  • *****
  • Posts: 4540
  • The wait is over.
    • View Profile
    • JinxBot :: the evolution in boticulation
Re: Even Notepad knows....
« Reply #13 on: June 14, 2006, 11:57:26 pm »
Weird how it breaks in Windows yet not in wine? :|
Probably indicates a Wine API is broken.
I have a programming folder, and I have nothing of value there

Running with Code has a new home!

Our species really annoys me.

Offline GameSnake

  • News hound
  • Hero Member
  • *****
  • Posts: 2937
    • View Profile
Re: Even Notepad knows....
« Reply #14 on: June 15, 2006, 12:18:10 am »

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