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

Side by Side Diff: scripts/eucjp_gen.sh

Issue 1162723008: Add U+2212 to Japanese converters and update GBK/gb18030 aliases/tables (Closed) Base URL: https://chromium.googlesource.com/chromium/deps/icu.git@master
Patch Set: README.chromium updated Created 5 years, 6 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 unified diff | Download patch
« no previous file with comments | « patches/gb_table.patch ('k') | scripts/sjis_gen.sh » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/bin/sh 1 #!/bin/sh
2 # Copyright 2014 The Chromium Authors. All rights reserved. 2 # Copyright 2014 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 # References: 6 # References:
7 # https://encoding.spec.whatwg.org/#euc-jp 7 # https://encoding.spec.whatwg.org/#euc-jp
8 # https://legacy-encoding.sourceforge.jp/wiki/index.php?cp51932 8 # https://legacy-encoding.sourceforge.jp/wiki/index.php?cp51932
9 # https://www.iana.org/assignments/charset-reg/CP51932 9 # https://www.iana.org/assignments/charset-reg/CP51932
10 # Table 3-64 in CJKV Information Processing 2/e. 10 # Table 3-64 in CJKV Information Processing 2/e.
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after
92 index-jis0212.txt 92 index-jis0212.txt
93 } 93 }
94 94
95 function unsorted_table { 95 function unsorted_table {
96 ascii 96 ascii
97 half_width_kana 97 half_width_kana
98 jis208 98 jis208
99 jis212 99 jis212
100 echo '<U00A5> \x5C |1' 100 echo '<U00A5> \x5C |1'
101 echo '<U203E> \x7E |1' 101 echo '<U203E> \x7E |1'
102 echo '<U2212> \xA1\xDD |1'
102 } 103 }
103 104
104 wget -N -r -nd https://encoding.spec.whatwg.org/index-jis0208.txt 105 wget -N -r -nd https://encoding.spec.whatwg.org/index-jis0208.txt
105 wget -N -r -nd https://encoding.spec.whatwg.org/index-jis0212.txt 106 wget -N -r -nd https://encoding.spec.whatwg.org/index-jis0212.txt
106 preamble 107 preamble
107 unsorted_table | sort | uniq 108 unsorted_table | sort | uniq
108 echo 'END CHARMAP' 109 echo 'END CHARMAP'
OLDNEW
« no previous file with comments | « patches/gb_table.patch ('k') | scripts/sjis_gen.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698