about summary refs log tree commit diff
path: root/localedata/unicode-gen/ctype_compatibility_test_cases.py
diff options
context:
space:
mode:
authorMike FABIAN <mfabian@redhat.com>2019-03-06 10:39:26 +0100
committerMike FABIAN <mfabian@redhat.com>2019-03-08 12:20:35 +0100
commit86bdd49d93665b9d7b1b98502b84d0fa9af6915f (patch)
tree2dd7445bbcfafb8dbaaca717f80c96bf05c9f58b /localedata/unicode-gen/ctype_compatibility_test_cases.py
parentc5f65462a29fa4b7caa9026b36b2792d79b16d1d (diff)
downloadglibc-86bdd49d93665b9d7b1b98502b84d0fa9af6915f.tar.gz
glibc-86bdd49d93665b9d7b1b98502b84d0fa9af6915f.tar.xz
glibc-86bdd49d93665b9d7b1b98502b84d0fa9af6915f.zip
Bug 24307: Update to Unicode 12.0.0
Unicode 12.0.0 Support: Character encoding, character type info, and
transliteration tables are all updated to Unicode 12.0.0, using
the generator scripts contributed by Mike FABIAN (Red Hat).

Some info about the number of characters added or changed:

Total added characters in newly generated CHARMAP: 554
Total added characters in newly generated WIDTH: 106
alpha: Missing 8 characters of old ctype in new ctype
       (These are combining marks, apparently they were removed from alpha
       on purpose)
alpha: Added 295 characters in new ctype which were not in old ctype
combining: Missing 2 characters of old ctype in new ctype
       (U+1CF2 VEDIC SIGN ARDHAVISARGA and U+1CF3 VEDIC SIGN ROTATED ARDHAVISARGA,
       these are now "Alphabetic" in Unicode 12.0.0)
combining: Added 37 characters in new ctype which were not in old ctype
combining_level3: Missing 2 characters of old ctype in new ctype
       (U+1CF2 VEDIC SIGN ARDHAVISARGA and U+1CF3 VEDIC SIGN ROTATED ARDHAVISARGA,
       these are now "Alphabetic" in Unicode 12.0.0)
combining_level3: Added 26 characters in new ctype which were not in old ctype
graph: Added 554 characters in new ctype which were not in old ctype
lower: Added 6 characters in new ctype which were not in old ctype
print: Added 554 characters in new ctype which were not in old ctype
punct: Missing 29 characters of old ctype in new ctype
       (These characters have all  become "Alphabetic" in Unicode 12.0.0.
       Therefore, they are not in "punct" anymore (see: is_punct() in unicode_utils.py))
punct: Added 296 characters in new ctype which were not in old ctype
tolower: Added 7 characters in new ctype which were not in old ctype
totitle: Added 7 characters in new ctype which were not in old ctype
toupper: Added 7 characters in new ctype which were not in old ctype
upper: Added 7 characters in new ctype which were not in old ctype

	[BZ #24307]
	* localedata/unicode-gen/Makefile (UNICODE_VERSION): Set to 12.0.0.
	* localedata/unicode-gen/DerivedCoreProperties.txt: Update to Unicode 12.0.0.
	* localedata/unicode-gen/EastAsianWidth.txt: Likewise.
	* localedata/unicode-gen/PropList.txt: Likewise.
	* localedata/unicode-gen/UnicodeData.txt: Likewise.
	* localedata/unicode-gen/ctype_compatibility_test_cases.py: U+108D became
        "Alphabetic" in Unicode 12.0.0. Adapt test case.
	* localedata/charmaps/UTF-8: Regenerate.
	* localedata/locales/i18n_ctype: Likewise.
	* localedata/locales/tr_TR: Likewise.
	* localedata/locales/translit_circle: Likewise.
	* localedata/locales/translit_cjk_compat: Likewise.
	* localedata/locales/translit_combining: Likewise.
	* localedata/locales/translit_compat: Likewise.
	* localedata/locales/translit_font: Likewise.
	* localedata/locales/translit_fraction: Likewise.
Diffstat (limited to 'localedata/unicode-gen/ctype_compatibility_test_cases.py')
-rw-r--r--localedata/unicode-gen/ctype_compatibility_test_cases.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/localedata/unicode-gen/ctype_compatibility_test_cases.py b/localedata/unicode-gen/ctype_compatibility_test_cases.py
index 004bc2d66e..3073dbd2c9 100644
--- a/localedata/unicode-gen/ctype_compatibility_test_cases.py
+++ b/localedata/unicode-gen/ctype_compatibility_test_cases.py
@@ -220,7 +220,7 @@ TEST_CASES = [
     ],
     [[0x108D],
      [('combining', True), ('combining_level3', False),
-      ('alpha', False), ('lower', False), ('upper', False),
+      ('alpha', True), ('lower', False), ('upper', False),
       ('tolower', False), ('toupper', False), ('totitle', False)],
      '''“108D;MYANMAR SIGN SHAN COUNCIL EMPHATIC
      TONE;Mn;220;NSM;;;;;N;;;;;”.  Has apparently been added
@@ -231,7 +231,8 @@ TEST_CASES = [
      combining class value is 220 which is >= 200. According to
      gen-unicode-ctype.c, “combining_level3” needs a
      canonical combining class value < 200. According to
-     DerivedCoreProperties.txt it is not “Alphabetic”.'''
+     DerivedCoreProperties.txt it was not “Alphabetic”
+     until Unicode 11.0.0 but in 12.0.0 it became “Alphabetic”.'''
     ],
     [[0x06DE],
      [('combining', False), ('combining_level3', False),