Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(188)

Unified Diff: scripts/euckr_gen.sh

Issue 984233002: Update CJK converters and their generating scripts (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: add EUC-KR to README.chromium Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « scripts/eucjp_gen.sh ('k') | scripts/sjis_gen.sh » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/euckr_gen.sh
diff --git a/scripts/euckr_gen.sh b/scripts/euckr_gen.sh
index 497be5583cd8834db7d732e2ddc13f861e3ef12d..105ceb94c8e8d7aa40c9f10b67a07ea8ee3e5f0b 100644
--- a/scripts/euckr_gen.sh
+++ b/scripts/euckr_gen.sh
@@ -27,8 +27,12 @@ cat <<PREAMBLE
<subchar> \x3F
<icu:charsetFamily> "ASCII"
-<icu:state> 0-80, 81-fe:1, ff
+# 81-fe in states 2 and 3 can be tigher and a1-fe, but
+# to be compliant to HTML5 spec, it should be 81-fe.
+<icu:state> 0-7f, 81-c5:1, c6:2, c7-fe:3
<icu:state> 41-5a, 61-7a, 81-fe
+<icu:state> 41-52, 81-fe
+<icu:state> 81-fe
CHARMAP
PREAMBLE
@@ -60,7 +64,7 @@ function unsorted_table {
euckr
}
-curl -o index-euc-kr.txt https://encoding.spec.whatwg.org/index-euc-kr.txt
+wget -N -r -nd https://encoding.spec.whatwg.org/index-euc-kr.txt
preamble
ascii
unsorted_table | sort -k1 | uniq
« no previous file with comments | « scripts/eucjp_gen.sh ('k') | scripts/sjis_gen.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698