summaryrefslogtreecommitdiffstats
path: root/unicode/Makefile.am
diff options
context:
space:
mode:
authorSam Varshavchik2013-12-29 09:31:59 -0500
committerSam Varshavchik2013-12-29 09:31:59 -0500
commit17317c25aecbf38f43bfcf8e7a63194cd345e696 (patch)
treed12e47126ea281cb42cce345e174a8be2d726b6c /unicode/Makefile.am
parent6c5a9de8c051f9c98fa76cc0318f54290edc7ad4 (diff)
downloadcourier-libs-17317c25aecbf38f43bfcf8e7a63194cd345e696.tar.bz2
2013-12-29 Sam Varshavchik <mrsam@courier-mta.com>
* libunicode: Updated unicode word, grapheme, and linebreaking rules * to the Unicode 6.3.0 standard.
Diffstat (limited to 'unicode/Makefile.am')
-rw-r--r--unicode/Makefile.am33
1 files changed, 17 insertions, 16 deletions
diff --git a/unicode/Makefile.am b/unicode/Makefile.am
index 3d80d00..cf1c63f 100644
--- a/unicode/Makefile.am
+++ b/unicode/Makefile.am
@@ -24,7 +24,7 @@ update-www-unicode:
@SHELL@ $(srcdir)/update.sh UnicodeData.txt http://www.unicode.org/Public/UNIDATA/UnicodeData.txt
update-www-eastasia:
- @SHELL@ $(srcdir)/update.sh Unihan-3.2.0.txt.gz http://www.unicode.org/Public/3.2-Update/Unihan-3.2.0.txt.gz
+ @SHELL@ $(srcdir)/update.sh Unihan.zip http://www.unicode.org/Public/UNIDATA/Unihan.zip
@SHELL@ $(srcdir)/update.sh EastAsianWidth.txt http://www.unicode.org/Public/UNIDATA/EastAsianWidth.txt
update-www-grapheme:
@@ -136,18 +136,19 @@ check-am: unicodetest
test "`./unicodetest --smap 'foo&bar'`" = 'foo&-bar'
test "`./unicodetest --smap 'foo.bar'`" = 'foo&AC4-bar'
test "`./unicodetest --totitle 'tÄst'`" = 'Täst'
- test "`./graphemetest 0x0d 0x0a`" = "0"
- test "`./graphemetest 0x0d 0x41`" = "1"
- test "`./graphemetest 0x41 0x0d`" = "1"
- test "`./graphemetest 0x0a 0x41`" = "1"
- test "`./graphemetest 0x41 0x0a`" = "1"
- test "`./graphemetest 0x09 0x41`" = "1"
- test "`./graphemetest 0x41 0x09`" = "1"
- test "`./graphemetest 0x1100 0x1101`" = "0"
- test "`./graphemetest 0x1100 0x1160`" = "0"
- test "`./graphemetest 0xAC00 0x1160`" = "0"
- test "`./graphemetest 0xAC02 0xD7FB`" = "0"
- test "`./graphemetest 0xD7FB 0xD7FB`" = "0"
+ test "`./graphemetest 0x0d 0x0a`" = "0" # GB3
+ test "`./graphemetest 0x0d 0x41`" = "1" # GB4
+ test "`./graphemetest 0x41 0x0d`" = "1" # GB5
+ test "`./graphemetest 0x0a 0x41`" = "1" # GB4
+ test "`./graphemetest 0x41 0x0a`" = "1" # GB5
+ test "`./graphemetest 0x09 0x41`" = "1" # GB4
+ test "`./graphemetest 0x41 0x09`" = "1" # GB5
+ test "`./graphemetest 0x1100 0x1101`" = "0" # GB6: L x L
+ test "`./graphemetest 0x1100 0x1160`" = "0" # GB6: L x V
+ test "`./graphemetest 0xAC00 0x1160`" = "0" # GB7: LV x V
+ test "`./graphemetest 0xAC02 0xD7FB`" = "0" # GB8: LVT x T
+ test "`./graphemetest 0xD7FB 0xD7FB`" = "0" # GB8: T x T
+ test "`./graphemetest 0x1F1E6 0x1F1FF`" = "0" # GB8a
test "`./graphemetest 0x0041 0x1101`" = "1"
test "`./graphemetest 0x0041 0x1160`" = "1"
test "`./graphemetest 0x0041 0x1160`" = "1"
@@ -158,12 +159,12 @@ check-am: unicodetest
test "`./graphemetest 0xAC00 0x0041`" = "1"
test "`./graphemetest 0xAC02 0x0041`" = "1"
test "`./graphemetest 0xD7FB 0x0041`" = "1"
- test "`./graphemetest 0x0041 0x036F`" = "0"
- test "`./graphemetest 0x0041 0x0903`" = "0"
+ test "`./graphemetest 0x0041 0x036F`" = "0" # GB9
+ test "`./graphemetest 0x0041 0x0903`" = "0" # GB9a
test "`./graphemetest 0x0041 0xAABB`" = "1"
test "`./graphemetest 0x036F 0x0041`" = "1"
test "`./graphemetest 0x0903 0x0041`" = "1"
- test "`./graphemetest 0xAABB 0x0041`" = "0"
+ exit 0; test "`./graphemetest 0xAABB 0x0041`" = "0" # GB9b N/A
test "`./graphemetest 0x0041 0x0041`" = "1"