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/UCS@SIP%JISX0213-1.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

56 lines
1.4 KiB
Text

# $NetBSD: UCS@SIP%JISX0213-1.src,v 1.1 2007/03/05 16:58:34 tnozaki Exp $
TYPE ROWCOL
NAME "UCS:SIP/JISX0213-1"
SRC_ZONE 0x000B - 0xA190
OOB_MODE INVALID
DST_INVALID 0xFFFF
DST_UNIT_BITS 16
BEGIN_MAP
## Shift_JIS-2004 (JIS X 0213:2004) vs Unicode mapping table
##
## Date: 12 Feb 2005 10:15:00 GMT
## License:
## Copyright (C) 2001 earthian@tama.or.jp, All Rights Reserved.
## Copyright (C) 2001 I'O, All Rights Reserved.
## You can use, modify, distribute this table freely.
## Note:
## [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'.
##
0x000B = 0x2E22
0x0B9F = 0x4F54
0x123D = 0x2F42
0x131B = 0x2F4C
0x146E = 0x2F60
0x16B4 = 0x4F63
0x18BD = 0x2F7B
0x1E34 = 0x4F6E
0x31C4 = 0x753A
0x35C4 = 0x7572
0x373F = 0x7629
0x3763 = 0x7632
0x3CFE = 0x7660
0x47F1 = 0x776C
0x548E = 0x787E
0x550E = 0x7929
0x5771 = 0x7947
0x59C4 = 0x7954
0x5DA1 = 0x796E
0x6AFF = 0x7A5D
0x6E40 = 0x7B33
0x70F4 = 0x7B49
0x7684 = 0x7B6C
0x8277 = 0x7C49
0x83CD = 0x7C51
0xA190 = 0x7E66
END_MAP