Closed Bug 1734932 Opened 2 years ago Closed 1 year ago

Unify Intl APIs in intl/unicharutil/util/ICUUtils.cpp

Categories

(Core :: Internationalization, task, P3)

task

Tracking

()

RESOLVED FIXED
97 Branch
Tracking Status
firefox97 --- fixed

People

(Reporter: dminor, Assigned: dminor)

References

Details

(Whiteboard: [i18n-unification])

Attachments

(4 files)

Work: Small
What it is: Various calls to unicode number APIs

https://searchfox.org/mozilla-central/source/intl/unicharutil/util/ICUUtils.cpp

Assignee: nobody → dminor

This will be easier to clean up after Bug 1719548, since some of this code is also used in nsIDNService.

No longer blocks: 1719548
Depends on: 1719548

Awkwardly, this relies upon a different ICU4C NumberFormat API than
the existing intl::NumberFormat implementation, so it seems best to
have this live in a separate class.

Depends on D133123

Pushed by dminor@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/a59c501510ea
Remove unused BCP47CodeToLocale implementation; r=platform-i18n-reviewers,gregtatum
https://hg.mozilla.org/integration/autoland/rev/c39b3b3cb36e
Use intl::NumberFormat for LocalizeNumber; r=platform-i18n-reviewers,gregtatum
https://hg.mozilla.org/integration/autoland/rev/ddaf501f90bc
Add intl::NumberParser; r=platform-i18n-reviewers,gregtatum
https://hg.mozilla.org/integration/autoland/rev/eea99ed6a494
Use NumberParser for ParseNumber; r=platform-i18n-reviewers,gregtatum
You need to log in before you can comment on or make changes to this bug.