icu4x
icu4x copied to clipboard
Solving i18n for client-side and resource-constrained environments.
It would be nice to cut out the middle man and construct as much data as possible directly from "the source". The `icuexportdata` we currently use contains: * casemapping, properties,...
The current HB compiled data code is not ideal, because it uses `static_to_owned`, which might be blocking optimisations. This also let me realise that some compiled constructors that could be...
Fixes #3241 I switched our WASM engine to `wasmi` because it is faster to compile and has fewer dependencies. I changed how we interact with C++, too, in order to...
This PR introduces the `UnitsConverter`, a `struct` that wraps three distinct types of unit converters: 1. **ProportionalConverter**: Handles conversions between units where the relationship is `unit1 = CR * unit2`....
Based on #4294
In the API review, @markusicu pointed out that ICU takes a locale in the segmenter, and the locale affects the behavior in certain cases, such as those in the data...
We do not implement `Ord` on `Locale` or `LanguageIdentifier` because there are multiple possible orderings, and we did not want to privilege one ordering over another (see https://github.com/unicode-org/icu4x/issues/1215). We export...
An example of a potential way to resolve #58 Depends on #4606 Depends on #4608
The tuple ordering of extensions::unicode::Unicode is not equal to its string ordering. I added a `total_cmp` function to this type in https://github.com/unicode-org/icu4x/pull/4608, and in 2.0 we should remove the derived...