http://www.unicode.org/faq/programming.html

"How about converting to UTF-32?

A: If your platform or i18n library supports UTF-32 (4-byte)
characters, then, for similar reasons, you might want to use them
instead of UTF-16. Generally, the simplest approach is to match your
basic character and string datatype to that used by the APIs you need
to call.

However, UTF-32 is often a poor choice for high performance, since (on
average) only half as many characters will fit your processor cache.

Many libraries, such as ICU or Java 5, use a hybrid approach. For
strings, they use UTF-16 to reduce storage, but for single-character
APIs they use code points (UTF-32 values) for API simplicity."

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to