Re: String name and Character Name - script in locale ID

From: Markus Scherer (markus.icu@gmail.com)
Date: Mon Apr 18 2005 - 16:34:14 CST

  • Next message: Michael Everson: "Re: String name and Character Name"

    On 4/18/05, Philippe Verdy <verdy_p@wanadoo.fr> wrote:
    > Notably there's still nothing to resolve
    > correctly the script code (where to place it in a Java locale code? The best
    > place would be to put it within the language code with a separator or using
    > a lettercase convention or bundle resource names).

    ICU4J supports script codes in locale IDs, like zh_Hant_SG, via its
    ULocale class. Unfortunately, Locale could not be subclassed, but
    ULocale provides convenience methods to go from one to the other.

    markus



    This archive was generated by hypermail 2.1.5 : Mon Apr 18 2005 - 16:35:00 CST