OLD | NEW |
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 Loading... |
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' |
OLD | NEW |