Open Bug 1815871 Opened 1 year ago Updated 3 months ago

Switch normalization, collation, and IDNA from ICU4C to ICU4X

Categories

(Core :: Internationalization, task)

task

Tracking

()

People

(Reporter: hsivonen, Unassigned)

References

(Depends on 2 open bugs, Blocks 1 open bug)

Details

Normalization, collation, and IDNA form a feature cluster that could be switched from ICU4C to ICU4X without affecting other components. There is an upstream configuration option UCONFIG_NO_NORMALIZATION for turning these off on the ICU4C side. (Making Firefox compile with that option requires bug 1814862 to be fixed first.)

This bug depends on https://github.com/unicode-org/icu4x/issues/2850 from ICU4X.

Also, this needs either https://github.com/unicode-org/icu4x/issues/58 to be fixed for locale enumeration or a Gecko-specific hack to carry the local list outside ICU4X itself.

Furthermore, it would be nice to have HarfBuzz-related ICU4X issues fixed, but alternatively it would be feasible to route some HarfBuzz callbacks to ICU4C and others to ICU4X.

Not a strict blocker but a blocker if we want to get the performance of normalization right:
https://github.com/unicode-org/icu4x/issues/4256

Depends on: 1878907
No longer depends on: 1730706
Depends on: 1889536
You need to log in before you can comment on or make changes to this bug.