JDK Tutorials - Herong's Tutorial Examples - Version 6.02, by Dr. Herong Yang
Encoding Conversion Programs for Encoded Text Files
This chapter provides tutorial notes and example codes on character encoding conversion. Topics include entering Unicode characters with \uxxxx escape sequences; viewing encoded text files in Hex values; converting text files from one encoding to another; viewing encoded text files in Web browsers; viewing Unicode signs/symbols in different encodings.
Exercise: Adding more messages in other languages in UnicodeHello.java.
Sample programs listed in this chapter have been tested with JDK 1.4.1 to 1.8.0.
Table of Contents