Bits of Unicode
Mark Davis - IBM Centre for Java Technology SV
Supporting Unicode in small-memory environments presents some interesting challenges, which are only increased with the extension to surrogate characters. No matter which encoding is used to represent Unicode, 1,114,111 different codepoints are a lot to handle. This paper discussed tricks and strategems for associating information with Unicode characters that allows implemenations to minimize the impact on memory. The discussion includes: squeezing out bits for Unicode properties, effective use of trie structures, inversion lists, compact character mapping tables, and others.
Code that supplies and uses these structures is part of ICU, the Java/C/C++ open-source Unicode enablement libraries from IBM, and can be used to apply to other domains.
|When the world wants to talk, it speaks Unicode|
International Unicode Conferences are organized by Global Meeting Services, Inc., (GMS).
GMS is pleased to be able to offer the International Unicode Conferences under an exclusive
license granted by the Unicode Consortium. All responsibility for conference finances and
operations is borne by GMS. The independent conference board serves solely at the pleasure
of GMS and is composed of volunteers active in Unicode and in international software
development. All inquiries regarding International Unicode Conferences should be addressed
Unicode and the Unicode logo are registered trademarks of Unicode, Inc. Used with permission.
20 Jun 2000, Webmaster