Re: Java 5 Strings

From: Mike Ayers (mayers@celequest.com)
Date: Tue Jan 03 2006 - 17:41:15 CST

  • Next message: Naoto Sato: "Re: Java 5 Strings"

    Markus Scherer wrote:
    > Java Strings could always *store* all Unicode characters, BMP and
    > supplementary. Java 5 adds APIs to handle supplementary characters
    > explicitly, and implementation code (in regular expressions, for
    > example) to handle them rather than ignore them.

            Thanks for properly interpreting my ill-phrased question.

    > Some Java (JRE) implementation code (for example text layout, some
    > converters) could handle supplementary characters already in earlier
    > Java versions.

            I read this to mean that some of the functions handled supplementary
    characters properly and others did not, correct? If so, then it sounds
    a little risky.

    > ICU4J also provides full support for supplementary characters,
    > regardless of the JRE. Current versions of ICU4J work on Java 1.4 and
    > 5. http://ibm.com/software/globalization/icu

            This may be an option. Now I need to look at the rest of the chain
    (Javascript/browsers, databases, etc.) Would this data be precompiled
    somewhere?

            Thanks,

    /|/|ike



    This archive was generated by hypermail 2.1.5 : Tue Jan 03 2006 - 17:41:59 CST