Skip to content

Support non-latin numeric systems #27

@cquiroz

Description

@cquiroz

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 = সংখ্যা না

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions