1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/enc/trans/JIS/JISX0213-2%UCS@SIP.src
usa 756ffef448 * enc/euc_jp.c: added EUC-JP-2004 and its alias EUC-JISX0213.
[ruby-dev:45571] [Feature #6349]
  Requested by Kyouhei Yanagita <yanagi@shakenbu.org>.

* enc/trans/japanese_euc.trans: ditto.

* enc/trans/JIS/JISX0213-[12]%UCS@{BMP,SIP}.src: JIS X 0213:2004 ->
  Unicode mapping table from NetBSD.

* enc/trans/JIS/UCS@{BMP,SIP}%JISX0213-[12].src: Unicode -> JIX X
  0213:2004 mapping table from NetBSD.

* tool/transcode-tblgen.rb: added SIP support.

* test/ruby/test_transcode.rb: tests of above changes.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-04-24 11:14:18 +00:00

311 lines
5.5 KiB
Text

# $NetBSD: JISX0213-2%UCS@SIP.src,v 1.1 2007/03/05 16:58:33 tnozaki Exp $
TYPE ROWCOL
NAME "JISX0213-2/UCS:SIP"
SRC_ZONE 0x21-0x7E / 0x21-0x7E / 8
OOB_MODE INVALID
DST_INVALID 0xFFFE
DST_UNIT_BITS 16
BEGIN_MAP
## JIS X 0213:2004 vs Unicode mapping table
##
## Date: 22 May 2006
## License:
## Copyright (C) 2001 earthian@tama.or.jp, All Rights Reserved.
## Copyright (C) 2001 I'O, All Rights Reserved.
## Copyright (C) 2006 Project X0213, All Rights Reserved.
## You can use, modify, distribute this table freely.
## Note:
## 3-XXXX JIS X 0213:2004 plane 1 (GL encoding)
## 4-XXXX JIS X 0213:2000 plane 2 (GL encoding)
## [1983] JIS codepoint defined by JIS X 0208-1983
## [1990] JIS codepoint defined by JIS X 0208-1990
## [2000] JIS codepoint defined by JIS X 0213:2000
## [2004] JIS codepoint defined by JIS X 0213:2004
## [Unicode3.1] UCS codepoint defined by Unicode 3.1
## [Unicode3.2] UCS codepoint defined by Unicode 3.2
## Fullwidth UCS fullwidth form (U+Fxxx)
## Windows Windows (CP932) mapping
## Some 0213 character can't represent by one UCS character.
## In this table, such characters are described as 'U+xxxx+xxxx'.
##
## JIS Unicode Name Note
0x2121 = 0x0089
0x212B = 0x00A2
0x212E = 0x00A4
0x2136 = 0x01A2
0x2146 = 0x0213
0x2170 = 0x032B
0x2177 = 0x0381
0x2179 = 0x0371
0x2322 = 0x03F9
0x2325 = 0x044A
0x2327 = 0x0509
0x2331 = 0x05D6
0x2332 = 0x0628
0x2338 = 0x074F
0x233F = 0x0807
0x2341 = 0x083A
0x234A = 0x08B9
0x2352 = 0x097C
0x2353 = 0x099D
0x2359 = 0x0AD3
0x235C = 0x0B1D
0x2377 = 0x0D45
0x242A = 0x0DE1
0x2431 = 0x0E95
0x2432 = 0x0E6D
0x243A = 0x0E64
0x243D = 0x0F5F
0x2459 = 0x1201
0x245C = 0x1255
0x245E = 0x127B
0x2463 = 0x1274
0x246A = 0x12E4
0x246B = 0x12D7
0x2472 = 0x12FD
0x2474 = 0x1336
0x2475 = 0x1344
0x2525 = 0x13C4
0x2532 = 0x146D
0x253E = 0x15D7
0x2544 = 0x6C29
0x2547 = 0x1647
0x2555 = 0x1706
0x2556 = 0x1742
0x257E = 0x19C3
0x2830 = 0x1C56
0x2837 = 0x1D2D
0x2838 = 0x1D45
0x283A = 0x1D78
0x283B = 0x1D62
0x283F = 0x1DA1
0x2840 = 0x1D9C
0x2845 = 0x1D92
0x2848 = 0x1DB7
0x284A = 0x1DE0
0x284B = 0x1E33
0x285B = 0x1F1E
0x2866 = 0x1F76
0x286C = 0x1FFA
0x2C22 = 0x217B
0x2C2B = 0x231E
0x2C30 = 0x23AD
0x2C50 = 0x26F3
0x2C65 = 0x285B
0x2C6D = 0x28AB
0x2C72 = 0x298F
0x2D24 = 0x2AB8
0x2D29 = 0x2B4F
0x2D2A = 0x2B50
0x2D32 = 0x2B46
0x2D34 = 0x2C1D
0x2D35 = 0x2BA6
0x2D39 = 0x2C24
0x2D56 = 0x2DE1
0x2D7D = 0x31C3
0x2E23 = 0x31F5
0x2E24 = 0x31B6
0x2E3A = 0x3372
0x2E3C = 0x33D3
0x2E3D = 0x33D2
0x2E42 = 0x33D0
0x2E43 = 0x33E4
0x2E44 = 0x33D5
0x2E47 = 0x33DA
0x2E49 = 0x33DF
0x2E55 = 0x344A
0x2E56 = 0x3451
0x2E57 = 0x344B
0x2E5B = 0x3465
0x2E77 = 0x34E4
0x2E78 = 0x355A
0x2F2A = 0x3594
0x2F3F = 0x3639
0x2F40 = 0x3647
0x2F42 = 0x3638
0x2F43 = 0x363A
0x2F4E = 0x371C
0x2F59 = 0x370C
0x2F61 = 0x3764
0x2F69 = 0x37FF
0x2F6A = 0x37E7
0x2F70 = 0x3824
0x2F75 = 0x383D
0x6E23 = 0x3A98
0x6E34 = 0x3C7F
0x6E49 = 0x3D00
0x6E5C = 0x3D40
0x6E5E = 0x3DFA
0x6E5F = 0x3DF9
0x6E60 = 0x3DD3
0x6F32 = 0x3F7E
0x6F47 = 0x4096
0x6F4D = 0x4103
0x6F61 = 0x41C6
0x6F64 = 0x41FE
0x7022 = 0x43BC
0x7033 = 0x4629
0x7039 = 0x46A5
0x7053 = 0x4896
0x707B = 0x4A4D
0x712E = 0x4B56
0x7130 = 0x4B6F
0x7135 = 0x4C16
0x7144 = 0x4D14
0x715D = 0x4E0E
0x7161 = 0x4E37
0x7166 = 0x4E6A
0x7169 = 0x4E8B
0x7175 = 0x504A
0x7177 = 0x5055
0x717A = 0x5122
0x7221 = 0x51A9
0x7223 = 0x51E5
0x7224 = 0x51CD
0x7228 = 0x521E
0x722C = 0x524C
0x723D = 0x542E
0x7248 = 0x54D9
0x725B = 0x55A7
0x7275 = 0x57A9
0x7276 = 0x57B4
0x7332 = 0x59D4
0x733D = 0x5AE4
0x733E = 0x5AE3
0x7340 = 0x5AF1
0x7352 = 0x5BB2
0x735D = 0x5C4B
0x735E = 0x5C64
0x7373 = 0x5E2E
0x7374 = 0x5E56
0x7375 = 0x5E65
0x7377 = 0x5E62
0x737B = 0x5ED8
0x737D = 0x5EC2
0x7422 = 0x5EE8
0x7424 = 0x5F23
0x7427 = 0x5F5C
0x742E = 0x5FE0
0x742F = 0x5FD4
0x7434 = 0x600C
0x7435 = 0x5FFB
0x743D = 0x6017
0x7442 = 0x6060
0x744F = 0x60ED
0x7469 = 0x6270
0x746B = 0x6286
0x7472 = 0x634C
0x7475 = 0x3D0E
0x7479 = 0x6402
0x7535 = 0x667E
0x753A = 0x66B0
0x7546 = 0x671D
0x7556 = 0x68DD
0x7558 = 0x68EA
0x755A = 0x6951
0x755D = 0x696F
0x755F = 0x69DD
0x7563 = 0x6A1E
0x756A = 0x6A58
0x7570 = 0x6A8C
0x7573 = 0x6AB7
0x7644 = 0x6C73
0x764E = 0x6CDD
0x765D = 0x6E65
0x7675 = 0x6F94
0x767E = 0x6FF8
0x7721 = 0x6FF6
0x7722 = 0x6FF7
0x7733 = 0x710D
0x7736 = 0x7139
0x7764 = 0x73DB
0x7765 = 0x73DA
0x776B = 0x73FE
0x776E = 0x7410
0x7773 = 0x7449
0x7829 = 0x7615
0x782A = 0x7614
0x782C = 0x7631
0x7834 = 0x7693
0x783C = 0x770E
0x783E = 0x7723
0x7842 = 0x7752
0x7856 = 0x7985
0x7863 = 0x7A84
0x7877 = 0x7BB3
0x7879 = 0x7BBE
0x787A = 0x7BC7
0x7925 = 0x7CB8
0x792F = 0x7DA0
0x7932 = 0x7E10
0x7939 = 0x7FB7
0x7942 = 0x808A
0x7948 = 0x80BB
0x7959 = 0x8282
0x795E = 0x82F3
0x7966 = 0x840C
0x796B = 0x8455
0x797A = 0x856B
0x797E = 0x85C8
0x7A21 = 0x85C9
0x7A2C = 0x86D7
0x7A2F = 0x86FA
0x7A4F = 0x8949
0x7A50 = 0x8946
0x7A57 = 0x896B
0x7A65 = 0x8987
0x7A66 = 0x8988
0x7A71 = 0x89BA
0x7A72 = 0x89BB
0x7A7E = 0x8A1E
0x7B21 = 0x8A29
0x7B2C = 0x8A71
0x7B2D = 0x8A43
0x7B36 = 0x8A99
0x7B37 = 0x8ACD
0x7B3D = 0x8AE4
0x7B3E = 0x8ADD
0x7B4E = 0x8BC1
0x7B4F = 0x8BEF
0x7B57 = 0x8D10
0x7B5A = 0x8D71
0x7B5C = 0x8DFB
0x7B5D = 0x8E1F
0x7B61 = 0x8E36
0x7B65 = 0x8E89
0x7B67 = 0x8EEB
0x7B69 = 0x8F32
0x7B71 = 0x8FF8
0x7C22 = 0x92A0
0x7C23 = 0x92B1
0x7C38 = 0x9490
0x7C42 = 0x95CF
0x7C4C = 0x967F
0x7C56 = 0x96F0
0x7C59 = 0x9719
0x7C5D = 0x9750
0x7C76 = 0x98C6
0x7D2C = 0x9A72
0x7D4B = 0x9DDB
0x7D4C = 0x9E3D
0x7D59 = 0x9E15
0x7D5B = 0x9E8A
0x7D5D = 0x9E49
0x7D67 = 0x9EC4
0x7D6D = 0x9EE9
0x7D70 = 0x9EDB
0x7E25 = 0x9FCE
0x7E29 = 0xA02F
0x7E2B = 0xA01A
0x7E32 = 0xA0F9
0x7E35 = 0xA082
0x7E53 = 0x2218
0x7E58 = 0xA38C
0x7E5A = 0xA437
0x7E6E = 0xA5F1
0x7E70 = 0xA602
0x7E72 = 0xA61A
0x7E76 = 0xA6B2
END_MAP