Closed Bug 919859 Opened 11 years ago Closed 11 years ago

Use ICU C API to determine default numbering system for locale

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 966559

People

(Reporter: mozillabugs, Unassigned)

References

Details

The intl_numberingSystem function in js/src/builtin/Intl.cpp currently uses the ICU C++ API to determine the default numbering system for a locale. We generally avoid the ICU C++ API because its compatibility between versions is not guaranteed, but at the time of development there was no equivalent C API.

Thanks to
http://bugs.icu-project.org/trac/ticket/10039#comment:5
a C API for numbering systems has been added in ICU 52, and intl_numberingSystem should be upgraded to use that new API after upgrading the Mozilla sources to ICU 52.
I accidentally filed a duplicate ticket, which now has better information, so I'm closing this one.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.