Go Back   FormKaos: Board > General Discussion > Coffee Lounge
FAQ Community Arcade Today's Posts Search

Coffee Lounge Talk amongst other community members.

Reply
 
LinkBack Topic Tools Rate Topic
  #1 (permalink)  
Old Jun 18, 06
bleep
 
Join Date: Aug 2004
b0ld is a jewel in the roughb0ld is a jewel in the roughb0ld is a jewel in the roughb0ld is a jewel in the rough
Notepad bug.... Or quoted for truth?

open up notepad.exe and type in: "Bush hid the facts" without the quotes, and without hitting enter.. then save it as a .txt, close notepad, and reopen the .txt and see what it says.
Reply With Quote
  #2 (permalink)  
Old Jun 18, 06
Registered User
 
Join Date: Jan 2006
project.one has a spectacular aura aboutproject.one has a spectacular aura aboutproject.one has a spectacular aura about
i get little boxes!
are you susposed to save the file as something in particular?
Reply With Quote
  #3 (permalink)  
Old Jun 18, 06
NinjaBoy's Avatar
Full moon Sway
 
Join Date: Nov 2000
NinjaBoy is a name known to allNinjaBoy is a name known to allNinjaBoy is a name known to allNinjaBoy is a name known to allNinjaBoy is a name known to allNinjaBoy is a name known to allNinjaBoy is a name known to allNinjaBoy is a name known to allNinjaBoy is a name known to allNinjaBoy is a name known to all
畂桳栠摩琠敨映捡獴

You have to have all the language packs installed for it to work.

http://blog.wired.com/27BStroke6/ind...try_id=1502576

Last edited by NinjaBoy; Jun 18, 06 at 03:28 PM.
Reply With Quote
  #4 (permalink)  
Old Jun 18, 06
mapleleaf4ever's Avatar
sweet sensi crew
 
Join Date: Jan 2004
mapleleaf4ever is a jewel in the roughmapleleaf4ever is a jewel in the roughmapleleaf4ever is a jewel in the roughmapleleaf4ever is a jewel in the roughmapleleaf4ever is a jewel in the rough
Quote:
Originally Posted by projectone
i get little boxes!
Me too.
Reply With Quote
  #5 (permalink)  
Old Jun 18, 06
Barstar.
 
Join Date: Jan 2003
e_BoY is an unknown quantity at this point
just tried it. a bunch of chinese/korean/jap letters came up. i let my dad readt it but he said it wasnt chinese. So i tried bable fish to translate chinese simplified - english and it only transalated 2 words out of the bunch, same results for chinese tradtional - english. tried japanese - english and it transalted 1 of the words. Last i tried korean - english and it didnt transalate anything. very cruious to what it says
Reply With Quote
  #6 (permalink)  
Old Jun 18, 06
www.commongrooves.ca
 
Join Date: Mar 2005
LastWerd is on a distinguished road
Tell Us What It Says!!!!
Reply With Quote
  #7 (permalink)  
Old Jun 18, 06
Registered User
 
Join Date: Jan 2006
project.one has a spectacular aura aboutproject.one has a spectacular aura aboutproject.one has a spectacular aura about
Yeah... spill it joe!
Reply With Quote
  #8 (permalink)  
Old Jun 18, 06
The Orginal Trance Addict
 
Join Date: Dec 2002
trance4life is an unknown quantity at this point
lol neat
Reply With Quote
  #9 (permalink)  
Old Jun 18, 06
Registered User
 
Join Date: Jan 2006
project.one has a spectacular aura aboutproject.one has a spectacular aura aboutproject.one has a spectacular aura about
Somebody just post it!
Reply With Quote
  #10 (permalink)  
Old Jun 18, 06
I can has photo?
 
Join Date: Jun 2004
thebobman is a jewel in the roughthebobman is a jewel in the roughthebobman is a jewel in the roughthebobman is a jewel in the rough
Quote:
Originally Posted by Aftermarket Pipes
But we can't even blame Notepad: it's a limitation of Windows itself, specifically the Windows function that Notepad uses to figure out if a text file is Unicode or not.

You see, text files containing Unicode (more correctly, UTF-16-encoded Unicode) are supposed to start with a "Byte-Order Mark" (BOM), which is a two-byte flag that tells a reader how the following UTF-16 data is encoded. Given that these two bytes are exceedingly unlikely to occur at the beginning of an ASCII text file, it's commonly used to tell whether a text file is encoded in UTF-16.

But plenty of applications don't bother writing this marker at the beginning of a UTF-16-encoded file. So what's an app like Notepad to do?

Windows helpfully provides a function called IsTextUnicode()--you pass it some data, and it tells you whether it's UTF-16-encoded or not.

It actually runs a couple of heuristics over the first 256 bytes of the data and provides its best guess. As it turns out, these tests aren't terribly reliable for very short ASCII strings that contain an even number of lower-case letters, like "this app can break", or more appropriately, "this api can break".

The documentation for IsTextUnicode says:

These tests are not foolproof. The statistical tests assume certain amounts of variation between low and high bytes in a string, and some ASCII strings can slip through. For example, if lpBuffer points to the ASCII string 0x41, 0x0A, 0x0D, 0x1D (A\n\r^Z), the string passes the IS_TEXT_UNICODE_STATISTICS test, though failure would be preferable.

Problem Explained
Reply With Quote
  #11 (permalink)  
Old Jun 18, 06
Registered User
 
Join Date: Jan 2006
project.one has a spectacular aura aboutproject.one has a spectacular aura aboutproject.one has a spectacular aura about
Ok, so now we know why

But now, what actually happens when we enter what B0ld told us to?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT -7. The time now is 06:31 PM.


Forum software by vBulletin
Circa 2000 FNK.CA