Platform notes¶
These notes describe runtime support and limitations.
C# limitations¶
C# wraps ICU4C via P/Invoke and bundles ICU 72 native binaries. The following methods are unavailable:
IndexBuckets()—AlphabeticIndexhas no C API (C++ only).BestMatch()/ negotiatingFromAcceptLanguage()—LocaleMatcherhas no C API. The non-negotiatingFromAcceptLanguage(header)(no supported list) works.PersonName()—PersonNameFormatterwas added in ICU 73 C++; the bundled ICU is version 72.SupportedValues("unit")—uloc_getAvailabledoesn't enumerate CLDR measure units; throwsCosmoUnsupportedException.Get()— the wrapper does not expose rawResourceBundleaccess.
Supported features include RBNF (spellout/ordinal), CLDR delimiters (quote),
transliteration, spoof detection, locale-aware parsing, likely-subtags,
FormatMoment, DateRange (all widths), relative-duration word forms, weekend
days in WeekInfo, and most SupportedValues keys.
Locale data¶
Cosmo reads locale data from ICU instead of maintaining hardcoded tables. Data updates follow the runtime or bundled ICU version. Updating Cosmo alone does not necessarily update locale data.