Opening UTF-16LE Text Files

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

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

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

2. Select the hello.utf-16le text file and click the Open button. The File Conversion dialog box comes up automatically. But this time Word failed to detect the correct encoding and suggests you to use the Windows default encoding to read the text file. See the incorrect text in the preview section in the picture below:

Word Open UTF-16LE File - Bad
Word Open UTF-16LE File - Bad

3. Click the "Other encoding" radio button and Select the "Unicode" encoding from the encoding list. Word now converts the UTF-16LE text correctly. See the correct text in the preview section in the picture below:

Word Open UTF-16LE File - Good
Word Open UTF-16LE File - Good

4. Click the OK button. My UTF-18LE text file opens in Word correctly.

Not too bad. This proves that Word can open UTF-16LE text file correctly if the "Unicode" encoding option is selected.

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

 Python Language and Unicode Characters

 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

Using Microsoft Word as a Unicode Text Editor

 What Is Microsoft Word

 Opening UTF-8 Text Files

 Opening UTF-16BE Text Files

Opening UTF-16LE Text Files

 Saving Files in "Unicode (UTF-8)" Option

 Saving Files in "Unicode (Big-Endian)" Option

 Saving Files in Unicode Option

 Supported Save and Open File Formats

 Using Microsoft Excel as a Unicode Text Editor

 Unicode Fonts

 Archived Tutorials

 References

 Full Version in PDF/EPUB