misc/patches/cldr_tools/21_default_repertire.patch
author jenda
Thu, 19 May 2011 11:33:20 +0200
changeset 134 455f05a692fc
parent 130 66e398a2332f
child 139 ab9fb5a8ad9a
permissions -rw-r--r--
7040301 Uncomplete LC_CTYPE information after migration to CLDR 1.9 & Unicode 6.0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
134
455f05a692fc 7040301 Uncomplete LC_CTYPE information after migration to CLDR 1.9 & Unicode 6.0
jenda
parents: 130
diff changeset
     1
repertoire is all assigned unicode characters
455f05a692fc 7040301 Uncomplete LC_CTYPE information after migration to CLDR 1.9 & Unicode 6.0
jenda
parents: 130
diff changeset
     2
130
66e398a2332f 7011510 CLDR 1.9 locale data integration
jenda
parents:
diff changeset
     3
diff -ruN cldr_tools.orig//tools/java/org/unicode/cldr/posix/POSIXLocale.java cldr_tools/tools/java/org/unicode/cldr/posix/POSIXLocale.java
66e398a2332f 7011510 CLDR 1.9 locale data integration
jenda
parents:
diff changeset
     4
--- cldr_tools.orig//tools/java/org/unicode/cldr/posix/POSIXLocale.java	2011-04-15 15:33:44.072439117 +0200
66e398a2332f 7011510 CLDR 1.9 locale data integration
jenda
parents:
diff changeset
     5
+++ cldr_tools/tools/java/org/unicode/cldr/posix/POSIXLocale.java	2011-04-15 15:37:17.712439014 +0200
134
455f05a692fc 7040301 Uncomplete LC_CTYPE information after migration to CLDR 1.9 & Unicode 6.0
jenda
parents: 130
diff changeset
     6
@@ -100,6 +100,7 @@
130
66e398a2332f 7011510 CLDR 1.9 locale data integration
jenda
parents:
diff changeset
     7
         }
66e398a2332f 7011510 CLDR 1.9 locale data integration
jenda
parents:
diff changeset
     8
  
66e398a2332f 7011510 CLDR 1.9 locale data integration
jenda
parents:
diff changeset
     9
         repertoire.add(0x0000,0x007f);        // Always add the ASCII set
134
455f05a692fc 7040301 Uncomplete LC_CTYPE information after migration to CLDR 1.9 & Unicode 6.0
jenda
parents: 130
diff changeset
    10
+	repertoire.addAll(new UnicodeSet("[^[:Noncharacter_Code_Point:][:Cn:][:Cs:]]"));
130
66e398a2332f 7011510 CLDR 1.9 locale data integration
jenda
parents:
diff changeset
    11
         
66e398a2332f 7011510 CLDR 1.9 locale data integration
jenda
parents:
diff changeset
    12
      }
66e398a2332f 7011510 CLDR 1.9 locale data integration
jenda
parents:
diff changeset
    13
      else if ( ! codeset.equals("UTF-8") )