Support both local and ASCII numbering systems/decimal format symbols in a locale

Description

Deleted Component: formatting

Some locales might wish to format numbers using either local digits or ASCII digits. The grouping and decimal symbols used with them will be different, not merely the zero digit or algorithm. The symbols used with ASCII digits will also differ by locale, as they do between, say, the U.S. and France.

This should be representable as a locale extension on the locale id. I expect we don't need more values than 'local' and 'ascii', so supporting only two sets is probably sufficient.

The default might vary among locales that support a local option, so we'll need data indicating the default to use when no decimal system is specified with a locale.

NumberFormat or DecimalFormat will want API to get/set this information as well.

Activity

Show:
TracBot
June 30, 2018, 11:34 PM
Trac Comment 1 by —2009-09-23T19:19:06.000Z

Use numbering system id instead of 'local' and 'ASCII'
Need ability to return the numbering systems available for a locale.

TracBot
June 30, 2018, 11:35 PM
Trac Comment 10 by —2012-02-28T18:01:59.630Z

John has implemented this under other tickets.

Duplicate

Assignee

Douglas Felt

Reporter

Douglas Felt

Components

None

Labels

None

Reviewer

None

Priority

major

Time Needed

Days

Fix versions