Open Bug 1707035 Opened 4 years ago Updated 4 years ago

Add utf-8 support to intl::NumberFormat format to parts

Categories

(Core :: Internationalization, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: dminor, Unassigned)

References

Details

Bug 1701695 added a utf-16 API for formatting numbers to parts to support SpiderMonkey. This bug tracks adding a utf-8 API as well.

This wasn't done as part of Bug 1701695 because there is not an immediate use for it, and converting the indices from fixed length utf-16 to variable length utf-8 seems like it might be error prone and time consuming to get right, and something we might be able to avoid completely if we switch to ICU4x anyway.

See Also: → 1723120
Whiteboard: [i18n-unification]

This is future work, not something we want to do as part of the unification project.

No longer blocks: 1686965
Whiteboard: [i18n-unification]
You need to log in before you can comment on or make changes to this bug.