Bush hid the facts - Wikipedia, the free encyclopedia

Bush hid the facts

From Wikipedia, the free encyclopedia

Jump to: navigation, search
The original text
After reopening the file

Bush hid the facts (sometimes also This app can break) is the common name for a bug present in the charset detection of all versions of Microsoft Notepad in Windows 2000 and Windows XP, which causes a file of text encoded in Windows-1252 or similar encoding to be interpreted as if it was UTF-16, resulting in mojibake.

While "Bush hid the facts" is the sentence that is most commonly presented on the Internet, it does not exclusively occur with that phrase. The bug can be triggered by many sentences with alphabetic characters and spaces in a particular order (4-space-3-space-3-space-5), as well as other combinations that can be parsed into valid (if nonsensical) Chinese characters in Unicode.

The bug occurs when such a string is entered into Notepad (with no other characters) and then saved as a text file. Upon reloading the file into Notepad, the text will be replaced with nine Chinese characters, or squares if the language pack has not been installed. To retrieve the original text, bring up the "Open a file" dialog box, select the file, select "ANSI" in the "Encoding" list box, and click Open.

[edit] Discovery

The bug appeared for the first time in Windows 2000 but was not discovered until early 2004 [1] and has since risen in popularity on the Internet.[citation needed]

Clearing the content by selecting, cutting and then repasting the text does not prevent reproduction as long as it is carefully done.

Notepad misinterprets the encoding of the file when it is re-opened. If the file is originally saved as "Unicode" rather than "ANSI" the text displays correctly.

Older versions of Notepad such as those that came with Windows 95, 98 or ME do not include Unicode support so the error does not occur.

Notepad2 (by Florian Balmer) also exhibits this behaviour.

It appears that in Windows 2000/XP and Notepad2, these use the Windows API call "IsTextUnicode" [2] which occasionally returns the incorrect results with the word length combinations mentioned above.

[edit] External links

Personal tools
Languages
Wikipedia wpisuje się w nurt tworzenia wolnych i otwartych treści, zainspirowany działaniami informatyków tworzących oprogramowanie wolne i o otwartym kodzie źródłowym (FLOSS). Jak w wypadku wielu tego typu projektów, otwartość internetowej encyklopedii zaowocowała szybkim wzrostem. W ciągu pięciu lat Wikipedia przyciągnęła dziesiątki tysięcy autorów i redaktorów, którzy stworzyli ponad trzy miliony haseł w 100 językach. Nieproporcjonalnie duża część pracy jest wykonywana przez stosunkowo niewielką grupę 4500 osób, z których 1850 pracuje nad wersją angielską. Wersja ta jest już kilkakrotnie większa od dowolnej tradycyjnej encyklopedii (zarówno pod względem objętości, jak i liczby haseł), a 13 największych wersji językowych, w tym polska, zawiera ponad 50 tysięcy haseł. Bocian - Żyrafa - chloroplast - Wypracowania z lektury Mitologia , opracowania na maturę. - Wypracowania z lektury Władca Pierścieni , opracowania na maturę. Feng Shui świeczki dekoracyjne auto części naklejki audyt Białystok DMOZ branze Baza CV