![]() The primitive data type char in the Java programming language was intended to take advantage of this design by providing a simple data type that could hold any character. ![]() Unicode was originally designed as a fixed-width 16-bit character encoding. The enhancements are part of version 5.0 of the Java 2 Platform, Standard Edition (J2SE).īesides explaining these enhancements in detail, this article also provides guidelines for application developers for determining and implementing necessary changes to enable use of the complete Unicode character set. These are now interpreted as UTF-16 sequences, and the implementations of these APIs is changed to correctly handle supplementary characters. Most text-processing APIs, however, use character sequences, such as the String class or character arrays. New low-level APIs enable operations on individual characters where necessary. The Java platform is being enhanced to enable processing of supplementary characters with minimal impact on existing applications. Such characters are generally rare, but some are used, for example, as part of Chinese and Japanese personal names, and so support for them is commonly required for government applications in East Asian countries. ![]() Supplementary characters are characters in the Unicode standard whose code points are above U+FFFF, and which therefore cannot be described as single 16-bit entities such as the char data type in the Java programming language. This article describes how supplementary characters are supported in the Java platform.
0 Comments
Leave a Reply. |