Opening UTF-16LE Text Files

This section provides a tutorial example on how to open a UTF-16LE text file with Nodepad correctly by selecting the Unicode encoding option on the open file dialog box.

In the next test, I want to use Notepad to open the UTF-16LE text file, hello.utf-16le, created from the previous chapter.

1. Run Notepad and click menu File > Open. The open file dialog box comes up.

2. Select the hello.utf-16le text file and select the "Unicode" option in the Encoding field. See the picture below:

Notepad Open UTF-16LE File
Notepad Open UTF-16LE File

3. Click the Open button. The UTF-16LE file opens in the editor correctly. See the picture below:

Notepad Edit UTF-16LE File
Notepad Edit UTF-16LE File

Very nice. This proves that Notepad can open UTF-16LE text file correctly if the Unicode encoding option is selected. This also tells us that Notepad's Unicode encoding means UTF-16LE encoding.

If you select a different encoding, like UTF-8, the UTF-16LE text file will be opened incorrectly. Try it out yourself.

Table of Contents

 About This Book

 Character Sets and Encodings

 ASCII Character Set and Encoding

 GB2312 Character Set and Encoding

 GB18030 Character Set and Encoding

 JIS X0208 Character Set and Encodings

 Unicode Character Set

 UTF-8 (Unicode Transformation Format - 8-Bit)

 UTF-16, UTF-16BE and UTF-16LE Encodings

 UTF-32, UTF-32BE and UTF-32LE Encodings

 Java Language and Unicode Characters

 Character Encoding in Java

 Character Set Encoding Maps

 Encoding Conversion Programs for Encoded Text Files

Using Notepad as a Unicode Text Editor

 What Is Notepad

 Opening UTF-8 Text Files

 Opening UTF-16BE Text Files

Opening UTF-16LE Text Files

 Saving Files in UTF-8 Option

 Byte Order Mark (BOM) - FEFF - EFBBBF

 Saving Files in "Unicode Big Endian" Option

 Saving Files in "Unicode" Option

 Supported Save and Open File Formats

 Using Microsoft Word as a Unicode Text Editor

 Using Microsoft Excel as a Unicode Text Editor

 Unicode Fonts

 Unicode Code Point Blocks: 0000 - 0FFF

 Unicode Code Point Blocks: 1000 - FFFF

 Unicode Code Point Blocks: 10000 - 11FFF

 Unicode Code Point Blocks: 12000 - 10FFFF

 Archived Tutorials


 Full Version in PDF/EPUB