UNPKG

cldr

Version:

Library for extracting data from CLDR (the Unicode Common Locale Data Repository)

27 lines (26 loc) 1.05 kB
<?xml version="1.0" encoding="UTF-8" ?> <!DOCTYPE supplementalData SYSTEM "../../common/dtd/ldmlSupplemental.dtd"> <!-- Copyright © 1991-2013 Unicode, Inc. CLDR data files are interpreted according to the LDML specification (http://unicode.org/reports/tr35/) For terms of use, see http://www.unicode.org/copyright.html --> <supplementalData> <version number="$Revision$"/> <transforms> <transform source="el" target="Title" direction="forward" alias="el-t-d0-title"> <tRule><![CDATA[ ::NFD(); # Remove \0301 following Greek, with possible intervening 0308 marks. # [[:Greek:] & [:Ll:]] [\u0308]? { \u0301 → ; # Make any string of letters after a cased letter be lower, with rules for sigma [:Cased:] [:Case_Ignorable:]* { Σ } [:Case_Ignorable:]* [:Cased:] → σ; [:Cased:] [:Case_Ignorable:]* { Σ → ς; [:Cased:] [:Case_Ignorable:]* { (.) → &Any-Lower($1) ; # Otherwise all lowercase go to upper (titlecase stay as is) ([:Lowercase:]) → &Any-Title($1) ; ::NFC(); ]]></tRule> </transform> </transforms> </supplementalData>