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

Side by Side Diff: scripts/sjis_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 | « scripts/eucjp_gen.sh ('k') | source/data/in/icudtl.dat » ('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/#shift_jis 7 # https://encoding.spec.whatwg.org/#shift_jis
8 8
9 # Download the following file, run it in source/data/mappings directory 9 # Download the following file, run it in source/data/mappings directory
10 # and save the result to euc-jp-html5.ucm 10 # and save the result to euc-jp-html5.ucm
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 } 115 }
116 116
117 function unsorted_table { 117 function unsorted_table {
118 ascii 118 ascii
119 half_width_kana 119 half_width_kana
120 jis208 120 jis208
121 eudc "0x40" "0x7E" "0x40" 121 eudc "0x40" "0x7E" "0x40"
122 eudc "0x80" "0xFC" "0x41" 122 eudc "0x80" "0xFC" "0x41"
123 echo '<U00A5> \x5C |1' 123 echo '<U00A5> \x5C |1'
124 echo '<U203E> \x7E |1' 124 echo '<U203E> \x7E |1'
125 echo '<U2212> \x81\x7C |1'
125 } 126 }
126 127
127 wget -N -r -nd https://encoding.spec.whatwg.org/index-jis0208.txt 128 wget -N -r -nd https://encoding.spec.whatwg.org/index-jis0208.txt
128 preamble 129 preamble
129 unsorted_table | sort | uniq 130 unsorted_table | sort | uniq
130 echo 'END CHARMAP' 131 echo 'END CHARMAP'
OLDNEW
« no previous file with comments | « scripts/eucjp_gen.sh ('k') | source/data/in/icudtl.dat » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698