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