larvitgeodata
Version:
Geo data, primarily ISO territories, languages etc. Data fetched mostly from CLDR.
36 lines (34 loc) • 1.38 kB
text/xml
<!--
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: 11914 $"/>
<transforms>
<transform source="Any" target="Publishing" direction="both">
<comment># Test case</comment>
<comment># "The" "(quick)" ('brown') `fox' ` jumped -- "over?"</comment>
<comment># Variables</comment>
<tRule>$single = \' ;</tRule>
<tRule>$space = ' ' ;</tRule>
<tRule>$double = \" ;</tRule>
<tRule>$back = \` ;</tRule>
<tRule>$tab = \u0008 ;</tRule>
<tRule>$makeRight = [[:Z:][:Ps:][:Pi:]$] ;</tRule>
<comment># fix UNIX quotes</comment>
<tRule>$back $back → “ ;</tRule>
<tRule>$back → ‘ ;</tRule>
<comment># fix typewriter quotes, by context</comment>
<tRule>$makeRight {$double} ↔ “ ;</tRule>
<tRule>$double ↔ ” ;</tRule>
<tRule>$makeRight {$single} ↔ ‘ ;</tRule>
<tRule>$single ↔ ’;</tRule>
<comment># fix multiple spaces and hyphens</comment>
<tRule>$space {$space} → ;</tRule>
<tRule>'--' ↔ — ;</tRule>
</transform>
</transforms>
</supplementalData>