Professional Documents
Culture Documents
In the Windows NT-based versions of Windows, Notepad can edit traditional 8-bit
text files as well as Unicode text files (both UTF-8 and UTF-16, and in case of
UTF-16, both little-endian and big-endian).
Notepad also has a simple built-in logging function. Each time a file that start
s with .LOG is opened, the program inserts a text timestamp on the last line of
the file.[2][3]
Notepad accepts text from the Windows clipboard. When clipboard data with multip
le formats is pasted into Notepad, the program only accepts text in the CF_TEXT
format.[4] This is useful for stripping embedded font type and style codes from
formatted text, such as when copying text from a web page and pasting into an em
ail message or other WYSIWYG text editor. Formatted text can be temporarily past
ed into Notepad, and then immediately copied again in stripped format to paste i
nto the other program.
Notepad can print files, but doesn't print correctly if Word Wrap is turned on.
Headers, footers, and margins can be set and adjusted when preparing to print a
file under Page Setup. The date, file name, and other information can be placed
in the headers and footers with various codes consisting of an ampersand ('&') f
ollowed by a letter.
Unicode detections[edit]
Main article: Bush hid the facts
The Windows NT version of Notepad, installed by default on Windows 2000 and Wind
ows XP, has the ability to detect Unicode files even when they are missing a byt
e order mark. To do this, it utilizes a Windows API function called IsTextUnicod
e().[5][6] However, this function is imperfect, incorrectly identifying some all
-lowercase ASCII text as UTF-16. As a result, Notepad interprets a file containi
ng a phrase like "aaaa aaa aaa aaaaa" ("4-3-3-5") as two-byte-encoded Unicode te
xt file and attempts to display it as such. If a font with support for Chinese i
s installed, nine Chinese characters (?????????) display. Otherwise, it displays
squares instead of Chinese characters.
Some people misinterpreted this issue for an easter egg. Many phrases that fit t
he pattern (including "this app can break" and "bush hid the facts") appeared on
the web as hoaxes. Windows expert Raymond Chen correctly attributed it to the U
nicode detection algorithm.[7] This issue was resolved in Windows Vista and newe
r versions of Notepad.
Competing software[edit]
Notepad does not require a lock on the file it opens, so it can open files alrea
dy opened by other processes, users, or computers, whereas WordPad cannot. Also,
since Notepad lacks advanced formatting functionality, many people find its sim
ple interface faster and easier to use for basic text operations. The MS-DOS Edi
tor, especially as updated in Windows 95, where it became an MDI application, al
so provides many features never offered by Notepad.
There are many third-party replacements for Notepad with additional functionalit
y, including both free software (e.g. Notepad++ and Notepad2) and freeware (e.g.
TED Notepad).
Notepad lacks many features available in other text editors, such as Unix-format
newlines, syntax coloring, code folding, regular expressions, macros, block-sel
ect, and MDI, and lacks full support for line wrapping.
See also[edit]
Portal icon
Microsoft portal
WordPad
Notepad++
ows Runtime
Discontinued
Games
3D Pinball Chess Titans FreeCell Hearts Hover! InkBall Hold 'Em Mahjong Titans M
inesweeper Purble Place Reversi Solitaire Spider Solitaire Tinker
Others
ActiveMovie Address Book Backup and Restore Cardfile CardSpace Desktop Gadgets D
iagnostics DriveSpace DVD Maker DVD Player Fax File Manager File Protection Hype
rTerminal Internet Mail and News Mail Media Control Interface Messaging Messenge
r NetMeeting NTBackup Outlook Express Photo Gallery Program Manager Video for Wi
ndows WinHelp WinSAT Write
Categories: 1985 softwareWindows componentsWindows text editors
Navigation menu
Create accountLog inArticleTalkReadEditView history
Notepad is a Windows application. To most people, it is a simple word processing
application but to programmers it turns into something like a lifesaver. How I
can say that kind of thing? No particular reason. Do your own reasearch, lazyass
!