"Character" Class with Unicode Utility Methods

This section provides an introduction on 'Character' class static methods added since J2SE 5.0 as Unicode utility methods.

Since designers of J2SE 5.0 did not change the internal storage size for the "Character" class, it can not be used to support Unicode supplementary characters in the range of U+0000 to U+10FFFF. So you should avoid using "Character" class to represent a single Unicode character in the future to make your application Unicode-friendly.

However designers of J2SE 5.0 did add a number of static methods in the "Character" class as utility methods to help Unicode character processing. So take a look at some of them:

See the next section for a tutorial example on how to use "Character" class static methods.

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

 Unicode Versions Supported in Java History

 'int' and 'String' - Basic Data Types for Unicode

"Character" Class with Unicode Utility Methods

 Character.toChars() - "char" Sequence of Code Point

 Character.getNumericValue() - Numeric Value of Code Point

 "String" Class with Unicode Utility Methods

 String.length() Is Not Number of Characters

 String.toCharArray() Returns the UTF-16BE Sequence

 String Literals and Source Code Encoding

 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

 Using Microsoft Excel as a Unicode Text Editor

 Unicode Fonts

 Archived Tutorials

 References

 Full Version in PDF/EPUB