Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Windows Notepad
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
===Unicode detection=== {{Main article|Bush hid the facts}} On the [[Windows NT family]] of operating systems (including [[Windows 2000]] and [[Windows XP]]), Notepad can detect Unicode files even when they lack a [[byte order mark]]. To do this, it calls the <code>IsTextUnicode()</code> function of the [[Windows API]].<ref>{{cite web |url=https://msdn.microsoft.com/en-us/library/dd318672(v=vs.85).aspx |title=IsTextUnicode() |work=[[MSDN]] |publisher=[[Microsoft]] |access-date=January 28, 2017 |url-status=live |archive-url=https://web.archive.org/web/20160910175750/https://msdn.microsoft.com/en-us/library/dd318672(v=vs.85).aspx |archive-date=2016-09-10}}</ref> Until [[Windows Vista]], this function was imperfect, incorrectly identifying some all-lowercase [[ASCII]] text as UTF-16. As a result, Notepad interpreted a file containing a phrase like "aaaa aaa aaa aaaaa" ("4-3-3-5") as a two-byte-encoded Unicode text file. If a font with support for Chinese was installed, nine Chinese characters (ζ‘΄η©ζ η°ζ ζΉ‘ζ ζ²ζ‘) would display. Otherwise, it would display square [[substitute character]]s instead of Chinese characters. This issue was resolved on Windows Vista and newer.<ref>{{cite web|last=Chen|first=Raymond|date=April 17, 2007|title=The Notepad file encoding problem, redux|url=https://devblogs.microsoft.com/oldnewthing/20070417-00/?p=27223|url-status=live|archive-url=https://web.archive.org/web/20110903031351/http://blogs.msdn.com/b/oldnewthing/archive/2007/04/17/2158334.aspx|archive-date=2011-09-03|access-date=2019-03-20|work=The Old New Thing|publisher=[[Microsoft]]}}</ref><ref>{{cite web|last=Kaplan|first=Michael S.|date=March 25, 2008|title=Bush might've still hid the facts, but he can't hide them from Vista SP1/Server 2008 Notepad|url=http://archives.miloush.net/michkap/archive/2008/03/25/8334796.html|access-date=13 April 2017}}</ref>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)