Re: Modifying locales to use non-Roman numbers
George Rhoten <[email protected]>
| Newsgroups | gmane.comp.lib.icu.general |
|---|---|
| Message-ID | <OF51028FC4.B23D6848-ON86256D6A.00690A2E-88256D6A.0069967E@us.ibm.com> |
There are two ways to do this:
1) Set the zero digit in DecimalFormatSymbols for the number formatter
that you're using.
or
2) Add this to ar.txt. This is derived from the root locale data in ICU
2.6, and the zero is changed to the "Arabic-Indic Digit Zero". You may
have to change the values for sub-locales too. You should run "gmake
check" to make sure that the change is correct.
NumberElements {
".",
",",
";",
"%",
"\u06F0",
"#",
"-",
"E",
"\u2030",
"\u221E",
"\uFFFD",
".",
}
George Rhoten
IBM Globalization Center of Competency/ICU San Jose, CA, USA
Avery Chan <[email protected]>
Sent by: [email protected]
07/21/2003 10:56 AM
To: icu-list <[email protected]>
cc:
Subject: Modifying locales to use non-Roman numbers
Hi all,
I filed Jitterbug 3112 so that the Arabic locales will format their
number based strings using Arabic numbers (u0060...) instead of the
Roman ones. Browsing through the locale data in data/locale I can't
figure out how to change this. Is there a way to change this?
Thanks,
Avery
_______________________________________________
icu mailing list
[email protected]
http://oss.software.ibm.com/developerworks/oss/mailman/listinfo/icu