ad30f8e79b
setting. It can be built by setting the WITH_ICONV knob. While this knob is unset, the library part, the binaries, the header file and the metadata files will not be built or installed so it makes no impact on the system if left turned off. This work is based on the iconv implementation in NetBSD but a great number of improvements and feature additions have been included: - Some utilities have been added. There is a conversion table generator, which can compare conversion tables to reference data generated by GNU libiconv. This helps ensuring conversion compatibility. - UTF-16 surrogate support and some endianness issues have been fixed. - The rather chaotic Makefiles to build metadata have been refactored and cleaned up, now it is easy to read and it is also easier to add support for new encodings. - A bunch of new encodings and encoding aliases have been added. - Support for 1->2, 1->3 and 1->4 mappings, which is needed for transliterating with flying accents as GNU does, like "u. - Lots of warnings have been fixed, the major part of the code is now WARNS=6 clean. - New section 1 and section 5 manual pages have been added. - Some GNU-specific calls have been implemented: iconvlist(), iconvctl(), iconv_canonicalize(), iconv_open_into() - Support for GNU's //IGNORE suffix has been added. - The "-" argument for stdin is now recognized in iconv(1) as per POSIX. - The Big5 conversion module has been fixed. - The iconv.h header files is supposed to be compatible with the GNU version, i.e. sources should build with base iconv.h and GNU libiconv. It also includes a macro magic to deal with the char ** and const char ** incompatibility. - GNU compatibility: "" or "char" means the current local encoding in use - Various cleanups and style(9) fixes. Approved by: delphij (mentor) Obtained from: The NetBSD Project Sponsored by: Google Summer of Code 2009
309 lines
5.3 KiB
Plaintext
309 lines
5.3 KiB
Plaintext
# $FreeBSD$
|
|
# $NetBSD: UCS@SIP%JISX0213-2.src,v 1.1 2007/03/05 16:58:34 tnozaki Exp $
|
|
|
|
TYPE ROWCOL
|
|
NAME "UCS:SIP/JISX0213-2"
|
|
SRC_ZONE 0x0089 - 0xA6B2
|
|
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'.
|
|
##
|
|
0x0089 = 0x2121
|
|
0x00A2 = 0x212B
|
|
0x00A4 = 0x212E
|
|
0x01A2 = 0x2136
|
|
0x0213 = 0x2146
|
|
0x032B = 0x2170
|
|
0x0371 = 0x2179
|
|
0x0381 = 0x2177
|
|
0x03F9 = 0x2322
|
|
0x044A = 0x2325
|
|
0x0509 = 0x2327
|
|
0x05D6 = 0x2331
|
|
0x0628 = 0x2332
|
|
0x074F = 0x2338
|
|
0x0807 = 0x233F
|
|
0x083A = 0x2341
|
|
0x08B9 = 0x234A
|
|
0x097C = 0x2352
|
|
0x099D = 0x2353
|
|
0x0AD3 = 0x2359
|
|
0x0B1D = 0x235C
|
|
0x0D45 = 0x2377
|
|
0x0DE1 = 0x242A
|
|
0x0E64 = 0x243A
|
|
0x0E6D = 0x2432
|
|
0x0E95 = 0x2431
|
|
0x0F5F = 0x243D
|
|
0x1201 = 0x2459
|
|
0x1255 = 0x245C
|
|
0x1274 = 0x2463
|
|
0x127B = 0x245E
|
|
0x12D7 = 0x246B
|
|
0x12E4 = 0x246A
|
|
0x12FD = 0x2472
|
|
0x1336 = 0x2474
|
|
0x1344 = 0x2475
|
|
0x13C4 = 0x2525
|
|
0x146D = 0x2532
|
|
0x15D7 = 0x253E
|
|
0x1647 = 0x2547
|
|
0x1706 = 0x2555
|
|
0x1742 = 0x2556
|
|
0x19C3 = 0x257E
|
|
0x1C56 = 0x2830
|
|
0x1D2D = 0x2837
|
|
0x1D45 = 0x2838
|
|
0x1D62 = 0x283B
|
|
0x1D78 = 0x283A
|
|
0x1D92 = 0x2845
|
|
0x1D9C = 0x2840
|
|
0x1DA1 = 0x283F
|
|
0x1DB7 = 0x2848
|
|
0x1DE0 = 0x284A
|
|
0x1E33 = 0x284B
|
|
0x1F1E = 0x285B
|
|
0x1F76 = 0x2866
|
|
0x1FFA = 0x286C
|
|
0x217B = 0x2C22
|
|
0x2218 = 0x7E53
|
|
0x231E = 0x2C2B
|
|
0x23AD = 0x2C30
|
|
0x26F3 = 0x2C50
|
|
0x285B = 0x2C65
|
|
0x28AB = 0x2C6D
|
|
0x298F = 0x2C72
|
|
0x2AB8 = 0x2D24
|
|
0x2B46 = 0x2D32
|
|
0x2B4F = 0x2D29
|
|
0x2B50 = 0x2D2A
|
|
0x2BA6 = 0x2D35
|
|
0x2C1D = 0x2D34
|
|
0x2C24 = 0x2D39
|
|
0x2DE1 = 0x2D56
|
|
0x31B6 = 0x2E24
|
|
0x31C3 = 0x2D7D
|
|
0x31F5 = 0x2E23
|
|
0x3372 = 0x2E3A
|
|
0x33D0 = 0x2E42
|
|
0x33D2 = 0x2E3D
|
|
0x33D3 = 0x2E3C
|
|
0x33D5 = 0x2E44
|
|
0x33DA = 0x2E47
|
|
0x33DF = 0x2E49
|
|
0x33E4 = 0x2E43
|
|
0x344A = 0x2E55
|
|
0x344B = 0x2E57
|
|
0x3451 = 0x2E56
|
|
0x3465 = 0x2E5B
|
|
0x34E4 = 0x2E77
|
|
0x355A = 0x2E78
|
|
0x3594 = 0x2F2A
|
|
0x3638 = 0x2F42
|
|
0x3639 = 0x2F3F
|
|
0x363A = 0x2F43
|
|
0x3647 = 0x2F40
|
|
0x370C = 0x2F59
|
|
0x371C = 0x2F4E
|
|
0x3764 = 0x2F61
|
|
0x37E7 = 0x2F6A
|
|
0x37FF = 0x2F69
|
|
0x3824 = 0x2F70
|
|
0x383D = 0x2F75
|
|
0x3A98 = 0x6E23
|
|
0x3C7F = 0x6E34
|
|
0x3D00 = 0x6E49
|
|
0x3D0E = 0x7475
|
|
0x3D40 = 0x6E5C
|
|
0x3DD3 = 0x6E60
|
|
0x3DF9 = 0x6E5F
|
|
0x3DFA = 0x6E5E
|
|
0x3F7E = 0x6F32
|
|
0x4096 = 0x6F47
|
|
0x4103 = 0x6F4D
|
|
0x41C6 = 0x6F61
|
|
0x41FE = 0x6F64
|
|
0x43BC = 0x7022
|
|
0x4629 = 0x7033
|
|
0x46A5 = 0x7039
|
|
0x4896 = 0x7053
|
|
0x4A4D = 0x707B
|
|
0x4B56 = 0x712E
|
|
0x4B6F = 0x7130
|
|
0x4C16 = 0x7135
|
|
0x4D14 = 0x7144
|
|
0x4E0E = 0x715D
|
|
0x4E37 = 0x7161
|
|
0x4E6A = 0x7166
|
|
0x4E8B = 0x7169
|
|
0x504A = 0x7175
|
|
0x5055 = 0x7177
|
|
0x5122 = 0x717A
|
|
0x51A9 = 0x7221
|
|
0x51CD = 0x7224
|
|
0x51E5 = 0x7223
|
|
0x521E = 0x7228
|
|
0x524C = 0x722C
|
|
0x542E = 0x723D
|
|
0x54D9 = 0x7248
|
|
0x55A7 = 0x725B
|
|
0x57A9 = 0x7275
|
|
0x57B4 = 0x7276
|
|
0x59D4 = 0x7332
|
|
0x5AE3 = 0x733E
|
|
0x5AE4 = 0x733D
|
|
0x5AF1 = 0x7340
|
|
0x5BB2 = 0x7352
|
|
0x5C4B = 0x735D
|
|
0x5C64 = 0x735E
|
|
0x5E2E = 0x7373
|
|
0x5E56 = 0x7374
|
|
0x5E62 = 0x7377
|
|
0x5E65 = 0x7375
|
|
0x5EC2 = 0x737D
|
|
0x5ED8 = 0x737B
|
|
0x5EE8 = 0x7422
|
|
0x5F23 = 0x7424
|
|
0x5F5C = 0x7427
|
|
0x5FD4 = 0x742F
|
|
0x5FE0 = 0x742E
|
|
0x5FFB = 0x7435
|
|
0x600C = 0x7434
|
|
0x6017 = 0x743D
|
|
0x6060 = 0x7442
|
|
0x60ED = 0x744F
|
|
0x6270 = 0x7469
|
|
0x6286 = 0x746B
|
|
0x634C = 0x7472
|
|
0x6402 = 0x7479
|
|
0x667E = 0x7535
|
|
0x66B0 = 0x753A
|
|
0x671D = 0x7546
|
|
0x68DD = 0x7556
|
|
0x68EA = 0x7558
|
|
0x6951 = 0x755A
|
|
0x696F = 0x755D
|
|
0x69DD = 0x755F
|
|
0x6A1E = 0x7563
|
|
0x6A58 = 0x756A
|
|
0x6A8C = 0x7570
|
|
0x6AB7 = 0x7573
|
|
0x6C29 = 0x2544
|
|
0x6C73 = 0x7644
|
|
0x6CDD = 0x764E
|
|
0x6E65 = 0x765D
|
|
0x6F94 = 0x7675
|
|
0x6FF6 = 0x7721
|
|
0x6FF7 = 0x7722
|
|
0x6FF8 = 0x767E
|
|
0x710D = 0x7733
|
|
0x7139 = 0x7736
|
|
0x73DA = 0x7765
|
|
0x73DB = 0x7764
|
|
0x73FE = 0x776B
|
|
0x7410 = 0x776E
|
|
0x7449 = 0x7773
|
|
0x7614 = 0x782A
|
|
0x7615 = 0x7829
|
|
0x7631 = 0x782C
|
|
0x7693 = 0x7834
|
|
0x770E = 0x783C
|
|
0x7723 = 0x783E
|
|
0x7752 = 0x7842
|
|
0x7985 = 0x7856
|
|
0x7A84 = 0x7863
|
|
0x7BB3 = 0x7877
|
|
0x7BBE = 0x7879
|
|
0x7BC7 = 0x787A
|
|
0x7CB8 = 0x7925
|
|
0x7DA0 = 0x792F
|
|
0x7E10 = 0x7932
|
|
0x7FB7 = 0x7939
|
|
0x808A = 0x7942
|
|
0x80BB = 0x7948
|
|
0x8282 = 0x7959
|
|
0x82F3 = 0x795E
|
|
0x840C = 0x7966
|
|
0x8455 = 0x796B
|
|
0x856B = 0x797A
|
|
0x85C8 = 0x797E
|
|
0x85C9 = 0x7A21
|
|
0x86D7 = 0x7A2C
|
|
0x86FA = 0x7A2F
|
|
0x8946 = 0x7A50
|
|
0x8949 = 0x7A4F
|
|
0x896B = 0x7A57
|
|
0x8987 = 0x7A65
|
|
0x8988 = 0x7A66
|
|
0x89BA = 0x7A71
|
|
0x89BB = 0x7A72
|
|
0x8A1E = 0x7A7E
|
|
0x8A29 = 0x7B21
|
|
0x8A43 = 0x7B2D
|
|
0x8A71 = 0x7B2C
|
|
0x8A99 = 0x7B36
|
|
0x8ACD = 0x7B37
|
|
0x8ADD = 0x7B3E
|
|
0x8AE4 = 0x7B3D
|
|
0x8BC1 = 0x7B4E
|
|
0x8BEF = 0x7B4F
|
|
0x8D10 = 0x7B57
|
|
0x8D71 = 0x7B5A
|
|
0x8DFB = 0x7B5C
|
|
0x8E1F = 0x7B5D
|
|
0x8E36 = 0x7B61
|
|
0x8E89 = 0x7B65
|
|
0x8EEB = 0x7B67
|
|
0x8F32 = 0x7B69
|
|
0x8FF8 = 0x7B71
|
|
0x92A0 = 0x7C22
|
|
0x92B1 = 0x7C23
|
|
0x9490 = 0x7C38
|
|
0x95CF = 0x7C42
|
|
0x967F = 0x7C4C
|
|
0x96F0 = 0x7C56
|
|
0x9719 = 0x7C59
|
|
0x9750 = 0x7C5D
|
|
0x98C6 = 0x7C76
|
|
0x9A72 = 0x7D2C
|
|
0x9DDB = 0x7D4B
|
|
0x9E15 = 0x7D59
|
|
0x9E3D = 0x7D4C
|
|
0x9E49 = 0x7D5D
|
|
0x9E8A = 0x7D5B
|
|
0x9EC4 = 0x7D67
|
|
0x9EDB = 0x7D70
|
|
0x9EE9 = 0x7D6D
|
|
0x9FCE = 0x7E25
|
|
0xA01A = 0x7E2B
|
|
0xA02F = 0x7E29
|
|
0xA082 = 0x7E35
|
|
0xA0F9 = 0x7E32
|
|
0xA38C = 0x7E58
|
|
0xA437 = 0x7E5A
|
|
0xA5F1 = 0x7E6E
|
|
0xA602 = 0x7E70
|
|
0xA61A = 0x7E72
|
|
0xA6B2 = 0x7E76
|
|
END_MAP
|