UNPKG

cldr

Version:

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

83 lines (77 loc) 1.86 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="Any" target="Publishing" direction="both" alias="und-t-d0-publish" backwardAlias="und-t-s0-publish"> <tRule><![CDATA[ # Variables $single = \' ; $space = ' ' ; $double = \"; $back = \` ; $tab = \u0008 ; $makeRight = [[:Z:][:Ps:][:Pi:]$] ; # fix UNIX quotes $back $back → “ ; $back → ‘ ; # fix typewriter quotes, by context $makeRight {$double} ↔ “ ; $double ↔ ” ; $makeRight {$single} ↔ ‘ ; $single ↔ ’; $space {$space} → ; '<--->''⟷'; '<---''⟵'; '--->''⟶'; '<-->''↔'; '<--''←'; '-->''→'; '<-/->''↮'; '<-/-''↚'; '-/->''↛'; '<===>''⟺'; '<===''⟸'; '===>''⟹'; '<==>''⇔'; '<==''⇐'; '==>''⇒'; '!=' ↔ ≠; '<=' ↔ ≤; '>=' ↔ ≥; '+-' ↔ ±; '-+' ↔ ∓; '~=' ↔ ≅; '--' ↔ —; '...' ↔ …; \(C\) ↔ ©; \(c\) → ©; \(R\) ↔ ®; \(r\) → ®; \(TM\) ↔ ™; \(tm\) → ™; {c\/o} ↔ ℅; [^0-9] {1\/2} [^0-9] ↔ ½; [^0-9] {1\/3} [^0-9] ↔ ⅓; [^0-9] {2\/3} [^0-9] ↔ ⅔; [^0-9] {1\/4} [^0-9] ↔ ¼; [^0-9] {3\/4} [^0-9] ↔ ¾; [^0-9] {1\/5} [^0-9] ↔ ⅕; [^0-9] {2\/5} [^0-9] ↔ ⅖; [^0-9] {3\/5} [^0-9] ↔ ⅗; [^0-9] {4\/5} [^0-9] ↔ ⅘; [^0-9] {1\/6} [^0-9] ↔ ⅙; [^0-9] {5\/6} [^0-9] ↔ ⅚; [^0-9] {1\/8} [^0-9] ↔ ⅛; [^0-9] {3\/8} [^0-9] ↔ ⅜; [^0-9] {5\/8} [^0-9] ↔ ⅝; [^0-9] {7\/8} [^0-9] ↔ ⅞; ]]></tRule> </transform> </transforms> </supplementalData>