Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support non-latin numeric systems #27

Open
cquiroz opened this issue Jun 27, 2016 · 0 comments
Open

Support non-latin numeric systems #27

cquiroz opened this issue Jun 27, 2016 · 0 comments

Comments

@cquiroz
Copy link
Owner

cquiroz commented Jun 27, 2016

The JVM tends to return the latn system unless specified on the unicode extension:

e.g. bn defaults to the "beng" numeric system on CLDR, however the call

val bn = Locale.forLanguageTag("bn")
DecimalFormatSymbols.getInstance(bn).getNaN()
res13: String = NaN

While the result with pure cldr should be

val bn2 = Locale.forLanguageTag("bn-u-nu-beng")
DecimalFormatSymbols.getInstance(bn2).getNaN()
res12: String = সংখ্যা না
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant