Henri Sivonen

Results 108 issues of Henri Sivonen

Differential Revision: https://phabricator.services.mozilla.com/D227317

**Is your feature request related to a problem? Please describe.** I'm trying to understand why Rec. 2020/2100 PQ JPEG XL files exported from Lightroom Classic sometimes show up with the...

Currently ICU4X `Locale` supports UTS 35, [which excludes parts of BCP 47](https://www.unicode.org/reports/tr35/#bcp-47-conformance), specifically "non-canonical", "irregular", or "privateuse". In https://bugzilla.mozilla.org/show_bug.cgi?id=1857742 , Gecko restored support for these non-UTS 35 deprecated tags in...

C-locale
U-gecko

Inspired by discovering how Firefox and Thunderbird UI code uses collation and pondering whether it makes sense.

AFAICT, the only way for `CollatorBorrowed::try_new` to fail is to override baked data with badly-generated baked data. It seems to me that broken baked data is a different category of...

A-design
discuss
C-collator

If `CollatorBorrowed` was `const`-constructible, it would be possible to have a `CollatorBorrowed`-typed `mut static` (without wrapping in `Option` or `MaybeUninit`) that could be overwritten with a dynamically-initialized `CollatorBorrowed` from `main`.

A-design
discuss
C-collator

ICU4X currently has code for obtaining system locale settings by calling POSIX `setlocale` with the null pointer as the second argument. However, this always says `C` unless the application has...

C-locale

According to https://github.com/dotnet/runtime/blob/1d1bf92fcf43aa6981804dc53c5174445069c9e4/src/libraries/System.Private.CoreLib/src/System/Globalization/ChineseLunisolarCalendar.cs#L34 how the months of the Chinese calendar were actually used in 1906 differs from Reingold's math. Decide if the calendar offered by ICU4X is meant to match...

C-calendar
U-temporal

Temporal requires https://tc39.es/proposal-temporal/#sec-temporal-calendardateaddition and https://tc39.es/proposal-temporal/#sec-temporal-calendardatedifference , but these are unstable hidden APIs in ICU4X. For Temporal compat, we need public API surface for these. Sub-issues: - [ ] https://github.com/unicode-org/icu4x/issues/7059 -...

S-medium
C-calendar
U-temporal

Currently, the option [enum re-exports in the collator](https://github.com/unicode-org/icu4x/blob/main/components/collator/src/lib.rs#L325) look like this: ```rust pub use icu_locale_core::preferences::extensions::unicode::keywords::CollationCaseFirst as CaseFirst; pub use icu_locale_core::preferences::extensions::unicode::keywords::CollationNumericOrdering as NumericOrdering; pub use icu_locale_core::preferences::extensions::unicode::keywords::CollationType; pub use options::AlternateHandling; pub use...

C-locale
C-collator
2.0-breaking