Unicode Tutorials - Herong's Tutorial Examples - v5.32, by Herong Yang
Character Set Encoding Maps - US-ASCII and ISO-8859-1/Latin 1
This section provides a tutorial example of analyzing and printing character set encoding maps for 2 encodings: US-ASCII and ISO-8859-1/Latin 1.
Here is the output of my sample program, EncodingAnalyzer2.java, for US-ASCII encoding with Java SE 7:
C:\herong>javac EncodingAnalyzer2.java C:\herong>java EncodingAnalyzer2 US-ASCII US-ASCII encoding: 00000000 > 00 - 0000007F > 7F 00000080 > 3F - 0010FFFF > 3F: Invalid range Code Point > Byte Sequence - Code Point > Byte Sequence
The encoding map of US-ASCII is very simple:
Here is the output of my sample program, EncodingAnalyzer2.java, for ISO-8859-1/Latin 1 encoding with Java SE 7:
C:\herong>java EncodingAnalyzer2 ISO-8859-1 ISO-8859-1 encoding: 00000000 > 00 - 000000FF > FF 00000100 > 3F - 0010FFFF > 3F: Invalid range Code Point > Byte Sequence - Code Point > Byte Sequence
The encoding map of ISO-8859-1/Latin 1 is also very simple:
Table of Contents
ASCII Character Set and Encoding
GB2312 Character Set and Encoding
GB18030 Character Set and Encoding
JIS X0208 Character Set and Encodings
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 Set Encoding Map Analyzer
►Character Set Encoding Maps - US-ASCII and ISO-8859-1/Latin 1
Character Set Encoding Maps - CP1252/Windows-1252
Character Set Encoding Maps - Unicode UTF-8
Character Set Encoding Maps - Unicode UTF-16, UTF-16BE, UTF-16LE
Character Set Encoding Maps - Unicode UTF-32, UTF-32BE, UTF-32LE
Character Counter Program for Any Given Encoding
Character Set Encoding Comparison
Encoding Conversion Programs for Encoded Text Files
Using Notepad as a Unicode Text Editor
Using Microsoft Word as a Unicode Text Editor