5b4f8e3e11
[REMOVE] Remove Line Draw TTF for MSDOS ASCCI Art highlighter; using encoding Dos 437 instead. [UPDATE] (Author : Christian Cuvier) Update NppHelp to v5.6. git-svn-id: svn://svn.tuxfamily.org/svnroot/notepadplus/repository/trunk@569 f5eea248-9336-0410-98b8-ebc06183d4e3
42 lines
2.6 KiB
HTML
42 lines
2.6 KiB
HTML
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
|
|
<html><head><meta content="text/html; charset=UTF-8" http-equiv="content-type"><title>Encoding</title>
|
|
<link rel="stylesheet" href="styles.css" type="text/css">
|
|
</head>
|
|
<body>
|
|
<h1>Encoding</h1>
|
|
<p>
|
|
Text
|
|
can be encoded in multiple ways. Most (older) text files use an
|
|
encoding named ANSI, which has room for a limited amount of different
|
|
characters, but is often sufficient to display all the text. However,
|
|
Unicode encodings allow for a much richer amount of characters,
|
|
allowing a single file to contain many languages at once, at the cost
|
|
of an increase in filesize. Notepad++ will automatically try to
|
|
detect the encoding used when opening a file, but allows you to
|
|
change it when editing it. To simply change the displayed encoding
|
|
(without modifying the actual text), select one of the <span class="menu_item">Format->Encode in</span>
|
|
options from the Format menu. The convert the text to a certain
|
|
encoding, select one of the <span class="menu_item">Format->Convert to</span> options in the format menu.<p>
|
|
It
|
|
can happen that a file is saved with a certain encoding, but upon
|
|
reopening it in Notepad++ it is detected with another encoding. This
|
|
is a technical limitation and happens because sometimes the resulting
|
|
file will not differ even though different encodings are used. This
|
|
is most noticeable if the file is saved without a special BOM (Byte
|
|
Order Mark) indicating the used encoding.<p>Notepad++ offers the following encoding schemes:
|
|
<dl>
|
|
<dt>ANSI
|
|
<dd> Older encoding, smallest filesize but error prone due to use of various codepages
|
|
<dt>UTF-8
|
|
<dd> Unicode encoding, most Western character take one byte of filesize,
|
|
but other character can take up more, 3 to 4 most commonly. A three
|
|
byte BOM will be added upon save.
|
|
<dt>UTF-8 without BOM
|
|
<dd> Like UTF-8, but no BOM is added. Saves three bytes, but makes encoding detection harder.
|
|
<dt>UTF-16 Little Endian
|
|
<dd> All characters are two bytes in size, pairs are Little Endian ordered. A 4 byte BOM is added upon save.
|
|
<dt>UTF-16 Big Endian
|
|
<dd> All characters are two bytes in size, pairs are Big Endian ordered. A 4 byte BOM is added upon save.
|
|
</dl>
|
|
<p>In addition, since version 5.6, Notepad++ supports changing the character set being used to display the text, exactly the way you can change it on most web browsers. Thiese encodings are available using the <span class="menu_item">More</span> menu entry which comes right after the <span class="menu_item">Encode in ...</span> family items.
|
|
</body></html> |