mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 08:44:58 +00:00
![]() As noted by ECMA-402, if a supported locale contains all of a language, script, and region subtag, then the implementation must also support the locale without the script subtag. The most complicated example of this is the zh-TW locale. The list of locales in the CLDR database does not include zh-TW or its maximized zh-Hant-TW variant. Instead, it inlcudes the zh-Hant locale. However, zh-Hant-TW is listed in the default-content locale list in the cldr-core package. This defines an alias from zh-Hant-TW to zh-Hant. We must then also support the zh-Hant-TW alias without the script subtag: zh-TW. This transitively maps zh-TW to zh-Hant, which is a case quite heavily tested by test262. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
TestUnicodeCharacterTypes.cpp | ||
TestUnicodeLocale.cpp |