Re: Java 5 Strings

From: Markus Scherer (
Date: Mon Jan 02 2006 - 18:59:10 CST

  • Next message: Ilya Konstantinov: "RFC: Addition of U+05BE HEBREW PUNCTUATION MAQAF to Dash category"

    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.

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

    ICU4J also provides full support for supplementary characters,
    regardless of the JRE. Current versions of ICU4J work on Java 1.4 and


    On 1/2/06, Mike Ayers <> wrote:
    > My apologies for this question, but my searching abilities seem quite
    > stunted today. I am under the impression that as of Java 5, Strings
    > will be able to contain super-BMP characters. Am I remembering correctly?

    Opinions expressed here may not reflect my company's positions unless
    otherwise noted.

    This archive was generated by hypermail 2.1.5 : Mon Jan 02 2006 - 19:00:25 CST