Mapping Unicode script name to CLDR script code
Doug Ewell
doug at ewellic.org
Sun Mar 14 00:02:30 CST 2021
Kip Cole wrote:
> Using the script properties (from scripts.txt in the Unicode repo for
> example), the script of some text can be detected.
>
> However I am not able to find a mapping from Unicode script names to
> CLDR script codes. Ie a way to map "Hirigana -> Jpan" or "Javanese ->
> Java".
>
> I've checked supplementalData.xml and scriptMetadata.txt to no avail.
>
> Is there a canonical mapping somewhere?
Have you tried PropertyValueAliases.txt? It's a Unicode Character
Database file, not a CLDR file.
--
Doug Ewell, CC, ALB | Thornton, CO, US | ewellic.org
More information about the CLDR-Users
mailing list