freebsd-dev/share/i18n/csmapper/MISC/UCS%TDS565.src
Gabor Kovesdan ad30f8e79b Add the BSD-licensed Citrus iconv to the base system with default off
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
2011-02-25 00:04:39 +00:00

707 lines
12 KiB
Plaintext

# $FreeBSD$
# $NetBSD: UCS%TDS565.src,v 1.1 2006/11/29 15:45:26 tnozaki Exp $
TYPE ROWCOL
NAME UCS/TDS565
SRC_ZONE 0x0000-0xFFEB
OOB_MODE INVALID
DST_INVALID 0xFF
DST_UNIT_BITS 32
BEGIN_MAP
#
# This mapping data is made from :
# http://www.itscj.ipsj.or.jp/ISO-IR/230.pdf
#
0x0000 - 0x0042 = 0x00 -
0x0044 - 0x0045 = 0x44 -
0x0046 - 0x004A = 0x47 -
0x004B - 0x4E = 0x4D -
0x004F = 0x52
0x0050 = 0x54
0x0052 - 0x0053 = 0x55 -
0x0054 - 0x0055 = 0x58 -
0x0057 = 0x5B
0x0059 = 0x5C
0x005A = 0x5E
0x005F = 0x5F
0x0061 - 0x0062 = 0x61 -
0x0064 - 0x0065 = 0x64 -
0x0066 - 0x006A = 0x67 -
0x006B - 0x006E = 0x6D -
0x006F = 0x72
0x0070 = 0x74
0x0072 = 0x75
0x0073 = 0x76
0x0074 = 0x78
0x0075 = 0x79
0x0077 = 0x7B
0x0079 = 0x7C
0x007A = 0x7E
0x007F = 0x7F
0x00A0 = 0x0020
0x00A1 = 0x0021
0x00A3 = 0x626E
0x00A5 = 0x70657C
0x00A7 = 0x5656
0x00A8 = 0x0022
0x00AA = 0x0061
0x00AB = 0x3C3C
0x00AC = 0x787270
0x00AD = 0x002D
0x00AE = 0x295528
0x00B1 = 0x2D2F2B
0x00B4 = 0x0027
0x00B5 = 0x0079
0x00B6 = 0x0054
0x00B7 = 0x002E
0x00B8 = 0x002C
0x00BA = 0x0072
0x00BB = 0x3E3E
0x00C1 = 0x4127
0x00C4 = 0x46
0x00C5 = 0x0041
0x00C6 = 0x4541
0x00C7 = 0x43
0x00C9 = 0x4527
0x00CB = 0x4522
0x00CD = 0x4A27
0x00CF = 0x4A22
0x00D0 = 0x0044
0x00D3 = 0x5227
0x00D6 = 0x53
0x00D8 = 0x0052
0x00DA = 0x5927
0x00DC = 0x5A
0x00DD = 0x5D
0x00DE = 0x6958
0x00DF = 0x7676
0x00E1 = 0x6127
0x00E4 = 0x66
0x00E5 = 0x0061
0x00E6 = 0x6561
0x00E7 = 0x63
0x00E9 = 0x6527
0x00EB = 0x6522
0x00ED = 0x6A27
0x00EF = 0x6A22
0x00F0 = 0x0064
0x00F3 = 0x7227
0x00F6 = 0x73
0x00F7 = 0x003A
0x00F8 = 0x0072
0x00FA = 0x7927
0x00FC = 0x7A
0x00FD = 0x7D
0x00FE = 0x6978
0x00FF = 0x7C22
0x0100 = 0x0041
0x0101 = 0x0061
0x0102 = 0x0041
0x0103 = 0x0061
0x0104 = 0x0041
0x0105 = 0x0061
0x010E = 0x0044
0x010F = 0x0064
0x0110 = 0x0044
0x0111 = 0x0064
0x0112 = 0x0045
0x0113 = 0x0065
0x0114 = 0x0045
0x0115 = 0x0065
0x0116 = 0x0045
0x0117 = 0x0065
0x0118 = 0x0045
0x0119 = 0x0065
0x011A = 0x0045
0x011B = 0x0065
0x011E = 0x0048
0x011F = 0x0068
0x0120 = 0x0048
0x0121 = 0x0068
0x0122 = 0x0048
0x0123 = 0x0068
0x0126 = 0x0049
0x0127 = 0x0069
0x012A = 0x004A
0x012B = 0x006A
0x012C = 0x004A
0x012D = 0x006A
0x012E = 0x004A
0x012F = 0x006A
0x0130 = 0x004A
0x0131 = 0x006A
0x0132 = 0x4B4A
0x0133 = 0x6B6A
0x0136 = 0x004D
0x0137 = 0x006D
0x0139 = 0x004E
0x013A = 0x006E
0x013B = 0x004E
0x013C = 0x006E
0x013D = 0x004E
0x013E = 0x006E
0x013F = 0x004E
0x0140 = 0x006E
0x0141 = 0x004E
0x0142 = 0x006E
0x0143 = 0x5027
0x0144 = 0x7027
0x0145 = 0x0050
0x0146 = 0x0070
0x0147 = 0x51
0x0148 = 0x71
0x0149 = 0x7027
0x014C = 0x0052
0x014D = 0x0072
0x014E = 0x0052
0x014F = 0x0072
0x0150 = 0x5222
0x0151 = 0x7222
0x0152 = 0x4552
0x0153 = 0x6572
0x0154 = 0x5527
0x0155 = 0x7527
0x0156 = 0x0055
0x0157 = 0x0075
0x0158 = 0x0055
0x0159 = 0x0075
0x015A = 0x5627
0x015B = 0x7627
0x015E = 0x57
0x015F = 0x77
0x0160 = 0x0056
0x0161 = 0x0076
0x0162 = 0x0058
0x0163 = 0x0078
0x0164 = 0x0058
0x0165 = 0x0078
0x0166 = 0x0058
0x0167 = 0x0078
0x016A = 0x0059
0x016B = 0x0079
0x016C = 0x0059
0x016D = 0x0079
0x016E = 0x0059
0x016F = 0x0079
0x0170 = 0x5922
0x0171 = 0x7922
0x0172 = 0x0059
0x0173 = 0x0079
0x0178 = 0x5C22
0x0179 = 0x5E27
0x017A = 0x7E27
0x017B = 0x005E
0x017C = 0x007E
0x017D = 0x4C
0x017E = 0x6C
0x017F = 0x0076
0x0192 = 0x0067
0x01C4 = 0x4C44
0x01C5 = 0x6C44
0x01C6 = 0x6C64
0x01C7 = 0x4B4E
0x01C8 = 0x6B4E
0x01C9 = 0x6B6E
0x01CA = 0x4B50
0x01CB = 0x6B50
0x01CC = 0x6B70
0x01F1 = 0x5E44
0x01F2 = 0x7E44
0x01F3 = 0x7E64
0x0218 = 0x0056
0x0219 = 0x0076
0x021A = 0x0058
0x021B = 0x0078
0x02B9 = 0x0027
0x02BA = 0x2727
0x02BB = 0x0027
0x02BC = 0x0027
0x02BD = 0x0027
0x02C8 = 0x0027
0x02CA = 0x0027
0x02CD = 0x005F
0x02DD = 0x0022
0x1E02 = 0x0042
0x1E03 = 0x0062
0x1E0A = 0x0044
0x1E0B = 0x0064
0x1E1E = 0x0047
0x1E1F = 0x0067
0x1E40 = 0x004F
0x1E41 = 0x006F
0x1E56 = 0x0054
0x1E57 = 0x0074
0x1E60 = 0x0056
0x1E61 = 0x0076
0x1E6A = 0x0058
0x1E6B = 0x0078
0x1E82 = 0x5B27
0x1E83 = 0x7B27
0x1E84 = 0x5B22
0x1E85 = 0x7B22
0x2002 = 0x0020
0x2003 = 0x0020
0x2004 = 0x0020
0x2005 = 0x0020
0x2006 = 0x0020
0x2008 = 0x0020
0x2009 = 0x0020
0x200A = 0x0020
0x2010 = 0x002D
0x2011 = 0x002D
0x2012 = 0x002D
0x2013 = 0x002D
0x2014 = 0x002D
0x2015 = 0x002D
0x2018 = 0x0027
0x2019 = 0x0027
0x201A = 0x0027
0x201B = 0x0027
0x201C = 0x0022
0x201D = 0x0022
0x201E = 0x0022
0x201F = 0x0022
0x2020 = 0x002B
0x2022 = 0x0072
0x2024 = 0x002E
0x2025 = 0x2E2E
0x2026 = 0x2E2E2E
0x2030 = 0x72722F72
0x2032 = 0x0027
0x2033 = 0x2727
0x2034 = 0x272727
0x2039 = 0x003C
0x203A = 0x003E
0x203C = 0x2121
0x2044 = 0x002F
0x2047 = 0x3F3F
0x2048 = 0x213F
0x2049 = 0x3F21
0x2057 = 0x27272727
0x20A8 = 0x7655
0x20AC = 0x555945
0x2101 = 0x762F61
0x210A = 0x0068
0x210B = 0x0049
0x210C = 0x0049
0x210D = 0x0049
0x210E = 0x0069
0x210F = 0x0069
0x2110 = 0x004A
0x2111 = 0x004A
0x2112 = 0x004E
0x2113 = 0x006E
0x2115 = 0x0050
0x2116 = 0x60
0x2119 = 0x0054
0x211B = 0x0055
0x211C = 0x0055
0x211D = 0x0055
0x2121 = 0x4E4558
0x2122 = 0x4F58
0x2124 = 0x005E
0x2126 = 0x6F6952
0x2128 = 0x005E
0x212C = 0x0042
0x212E = 0x0065
0x212F = 0x0065
0x2130 = 0x0045
0x2131 = 0x0047
0x2133 = 0x004F
0x2134 = 0x0072
0x2139 = 0x006A
0x2145 = 0x0044
0x2146 = 0x0064
0x2147 = 0x0065
0x2148 = 0x006A
0x2149 = 0x006B
0x215F = 0x2F3120
0x2160 = 0x004A
0x2161 = 0x4A4A
0x2162 = 0x4A4A4A
0x216C = 0x004E
0x216E = 0x0044
0x216F = 0x004F
0x2170 = 0x006A
0x2171 = 0x6A6A
0x2172 = 0x6A6A6A
0x217C = 0x006E
0x217E = 0x0064
0x217F = 0x006F
0x2190 = 0x2D3C
0x2192 = 0x3E2D
0x2194 = 0x3E2D3C
0x21D0 = 0x3D3C
0x21D2 = 0x3E3D
0x21D4 = 0x3E3D3C
0x2212 = 0x002D
0x2215 = 0x002F
0x2217 = 0x002A
0x2219 = 0x0072
0x2236 = 0x003A
0x2260 = 0x3D2F
0x2264 = 0x3D3C
0x2265 = 0x3D3E
0x226A = 0x3C3C
0x226B = 0x3E3E
0x22C5 = 0x002E
0x22D8 = 0x3C3C3C
0x22D9 = 0x3E3E3E
0x22EF = 0x2E2E2E
0x2460 = 0x293128
0x2461 = 0x293228
0x2462 = 0x293328
0x2463 = 0x293428
0x2464 = 0x293528
0x2465 = 0x293628
0x2466 = 0x293728
0x2467 = 0x293828
0x2468 = 0x293928
0x2469 = 0x29303128
0x246A = 0x29313128
0x246B = 0x29323128
0x246C = 0x29333128
0x246D = 0x29343128
0x246E = 0x29353128
0x246F = 0x29363128
0x2470 = 0x29373128
0x2471 = 0x29383128
0x2472 = 0x29393128
0x2473 = 0x29303228
0x2474 = 0x293128
0x2475 = 0x293228
0x2476 = 0x293328
0x2477 = 0x293428
0x2478 = 0x293528
0x2479 = 0x293628
0x247A = 0x293728
0x247B = 0x293828
0x247C = 0x293928
0x247D = 0x29303128
0x247E = 0x29313128
0x247F = 0x29323128
0x2480 = 0x29333128
0x2481 = 0x29343128
0x2482 = 0x29353128
0x2483 = 0x29363128
0x2484 = 0x29373128
0x2485 = 0x29383128
0x2486 = 0x29393128
0x2487 = 0x29303228
0x2488 = 0x2E31
0x2489 = 0x2E32
0x248A = 0x2E33
0x248B = 0x2E34
0x248C = 0x2E35
0x248D = 0x2E36
0x248E = 0x2E37
0x248F = 0x2E38
0x2490 = 0x2E39
0x2491 = 0x2E3031
0x2492 = 0x2E3131
0x2493 = 0x2E3231
0x2494 = 0x2E3331
0x2495 = 0x2E3431
0x2496 = 0x2E3531
0x2497 = 0x2E3631
0x2498 = 0x2E3731
0x2499 = 0x2E3831
0x249A = 0x2E3931
0x249B = 0x2E3032
0x249C = 0x296128
0x249D = 0x296228
0x249F = 0x296428
0x24A0 = 0x296528
0x24A1 = 0x296728
0x24A2 = 0x296828
0x24A3 = 0x296928
0x24A4 = 0x296A28
0x24A5 = 0x296B28
0x24A6 = 0x296D28
0x24A7 = 0x296E28
0x24A8 = 0x296F28
0x24A9 = 0x297028
0x24AA = 0x297228
0x24AB = 0x297428
0x24AD = 0x297528
0x24AE = 0x297628
0x24AF = 0x297828
0x24B0 = 0x297928
0x24B2 = 0x297B28
0x24B4 = 0x297C28
0x24B5 = 0x297E28
0x24B6 = 0x294128
0x24B7 = 0x294228
0x24B9 = 0x294428
0x24BA = 0x294528
0x24BB = 0x294728
0x24BC = 0x294828
0x24BD = 0x294928
0x24BE = 0x294A28
0x24BF = 0x294B28
0x24C0 = 0x294D28
0x24C1 = 0x294E28
0x24C2 = 0x294F28
0x24C3 = 0x295028
0x24C4 = 0x295228
0x24C5 = 0x295428
0x24C7 = 0x295528
0x24C8 = 0x295628
0x24C9 = 0x295828
0x24CA = 0x295928
0x24CC = 0x295B28
0x24CE = 0x295C28
0x24CF = 0x295E28
0x24D0 = 0x296128
0x24D1 = 0x296228
0x24D3 = 0x296428
0x24D4 = 0x296528
0x24D5 = 0x296728
0x24D6 = 0x296828
0x24D7 = 0x296928
0x24D8 = 0x296A28
0x24D9 = 0x296B28
0x24DA = 0x296D28
0x24DB = 0x296E28
0x24DC = 0x296F28
0x24DD = 0x297028
0x24DE = 0x297228
0x24DF = 0x297428
0x24E1 = 0x297528
0x24E2 = 0x297628
0x24E3 = 0x297828
0x24E4 = 0x297928
0x24E6 = 0x297B28
0x24E8 = 0x297C28
0x24E9 = 0x297E28
0x24EA = 0x293028
0x2500 = 0x002D
0x250C = 0x002B
0x2510 = 0x002B
0x2514 = 0x002B
0x2518 = 0x002B
0x251C = 0x002B
0x2524 = 0x002B
0x252C = 0x002B
0x2534 = 0x002B
0x253C = 0x002B
0x25E6 = 0x0072
0x2A74 = 0x3D3A3A
0x2A75 = 0x3D3D
0x2A76 = 0x3D3D3D
0x3000 = 0x0020
0x30A0 = 0x003D
0x3250 = 0x455854
0x3251 = 0x29313228
0x3252 = 0x29323228
0x3253 = 0x29333228
0x3254 = 0x29343228
0x3255 = 0x29353228
0x3256 = 0x29363228
0x3257 = 0x29373228
0x3258 = 0x29383228
0x3259 = 0x29393228
0x325A = 0x29303328
0x325B = 0x29313328
0x325C = 0x29323328
0x325D = 0x29333328
0x325E = 0x29343328
0x325F = 0x29353328
0x32B1 = 0x29363328
0x32B2 = 0x29373328
0x32B3 = 0x29383328
0x32B4 = 0x29393328
0x32B5 = 0x29303428
0x32B6 = 0x29313428
0x32B7 = 0x29323428
0x32B8 = 0x29333428
0x32B9 = 0x29343428
0x32BA = 0x29353428
0x32BB = 0x29363428
0x32BC = 0x29373428
0x32BD = 0x29383428
0x32BE = 0x29393428
0x32BF = 0x29303528
0x32CC = 0x6849
0x32CD = 0x687565
0x32CF = 0x44584E
0x3371 = 0x615469
0x3372 = 0x6164
0x3373 = 0x5941
0x3374 = 0x756162
0x3377 = 0x6F64
0x337A = 0x594A
0x3380 = 0x4174
0x3381 = 0x4170
0x3383 = 0x416F
0x3384 = 0x416D
0x3385 = 0x424D
0x3386 = 0x424F
0x3387 = 0x4248
0x338A = 0x4774
0x338B = 0x4770
0x338E = 0x686F
0x338F = 0x686D
0x3390 = 0x7E49
0x3391 = 0x7E496D
0x3392 = 0x7E494F
0x3393 = 0x7E4948
0x3394 = 0x7E4958
0x3396 = 0x6E6F
0x3397 = 0x6E64
0x3398 = 0x6E6D
0x3399 = 0x6F67
0x339A = 0x6F70
0x339C = 0x6F6F
0x339E = 0x6F6D
0x33A7 = 0x762F6F
0x33A9 = 0x6154
0x33AA = 0x61546D
0x33AB = 0x61544F
0x33AC = 0x615448
0x33AD = 0x646175
0x33B0 = 0x7674
0x33B1 = 0x7670
0x33B3 = 0x766F
0x33BA = 0x5B74
0x33BB = 0x5B70
0x33BD = 0x5B6F
0x33BE = 0x5B6D
0x33BF = 0x5B4F
0x33C2 = 0x2E6F2E61
0x33C8 = 0x4264
0x33C9 = 0x7C48
0x33CA = 0x6169
0x33CB = 0x5449
0x33CC = 0x706A
0x33CD = 0x4D4D
0x33CE = 0x4F4D
0x33CF = 0x786D
0x33D0 = 0x6F6E
0x33D1 = 0x706E
0x33D2 = 0x68726E
0x33D4 = 0x626F
0x33D5 = 0x6E6A6F
0x33D6 = 0x6E726F
0x33D7 = 0x4954
0x33D8 = 0x2E6F2E74
0x33D9 = 0x4F5454
0x33DA = 0x5554
0x33DB = 0x7576
0x33DD = 0x625B
0x33DF = 0x6F2F41
0x33FF = 0x6E6168
0xFB00 = 0x6767
0xFB01 = 0x6A67
0xFB02 = 0x6E67
0xFB03 = 0x6A6767
0xFB04 = 0x6E6767
0xFB05 = 0x7876
0xFB06 = 0x7876
0xFB29 = 0x002B
0xFE4D = 0x005F
0xFE4E = 0x005F
0xFE4F = 0x005F
0xFE50 = 0x002C
0xFE52 = 0x002E
0xFE54 = 0x003B
0xFE55 = 0x003A
0xFE57 = 0x0021
0xFE58 = 0x002D
0xFE59 = 0x0028
0xFE5A = 0x0029
0xFE5F = 0x0023
0xFE60 = 0x0026
0xFE61 = 0x002A
0xFE62 = 0x002B
0xFE63 = 0x002D
0xFE64 = 0x003C
0xFE65 = 0x003E
0xFE66 = 0x003D
0xFE69 = 0x0024
0xFE6A = 0x0025
0xFE6B = 0x0040
0xFF01 = 0x0021
0xFF02 = 0x0022
0xFF03 = 0x0023
0xFF04 = 0x0024
0xFF05 = 0x0025
0xFF06 = 0x0026
0xFF07 = 0x0027
0xFF08 = 0x0028
0xFF09 = 0x0029
0xFF0A = 0x002A
0xFF0B = 0x002B
0xFF0C = 0x002C
0xFF0D = 0x002D
0xFF0E = 0x002E
0xFF0F = 0x002F
0xFF10 = 0x0030
0xFF11 = 0x0031
0xFF12 = 0x0032
0xFF13 = 0x0033
0xFF14 = 0x0034
0xFF15 = 0x0035
0xFF16 = 0x0036
0xFF17 = 0x0037
0xFF18 = 0x0038
0xFF19 = 0x0039
0xFF1A = 0x003A
0xFF1B = 0x003B
0xFF1C = 0x003C
0xFF1D = 0x003D
0xFF1E = 0x003E
0xFF20 = 0x0040
0xFF21 = 0x0041
0xFF22 = 0x0042
0xFF24 = 0x0044
0xFF25 = 0x0045
0xFF26 = 0x0047
0xFF27 = 0x0048
0xFF28 = 0x0049
0xFF29 = 0x004A
0xFF2A = 0x004B
0xFF2B = 0x004D
0xFF2C = 0x004E
0xFF2D = 0x004F
0xFF2E = 0x0050
0xFF2F = 0x0052
0xFF30 = 0x0054
0xFF32 = 0x0055
0xFF33 = 0x0056
0xFF34 = 0x0058
0xFF35 = 0x0059
0xFF37 = 0x005B
0xFF39 = 0x005C
0xFF3A = 0x005E
0xFF3F = 0x005F
0xFF41 = 0x0061
0xFF42 = 0x0062
0xFF44 = 0x0064
0xFF45 = 0x0065
0xFF46 = 0x0067
0xFF47 = 0x0068
0xFF48 = 0x0069
0xFF49 = 0x006A
0xFF4A = 0x006B
0xFF4B = 0x006D
0xFF4C = 0x006E
0xFF4D = 0x006F
0xFF4E = 0x0070
0xFF4F = 0x0072
0xFF50 = 0x0074
0xFF52 = 0x0075
0xFF53 = 0x0076
0xFF54 = 0x0078
0xFF55 = 0x0079
0xFF57 = 0x007B
0xFF59 = 0x007C
0xFF5A = 0x007E
0xFFE1 = 0x626E
0xFFE2 = 0x787270
0xFFE5 = 0x70657C
0xFFE9 = 0x2D3C
0xFFEB = 0x3E2D
END_MAP