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
257 lines
4.5 KiB
Plaintext
257 lines
4.5 KiB
Plaintext
$FreeBSD$
|
|
0x00 = 0x00000000
|
|
0x01 = 0x00000001
|
|
0x02 = 0x00000002
|
|
0x03 = 0x00000003
|
|
0x04 = 0x00000004
|
|
0x05 = 0x00000005
|
|
0x06 = 0x00000006
|
|
0x07 = 0x00000007
|
|
0x08 = 0x00000008
|
|
0x09 = 0x00000009
|
|
0x0A = 0x0000000A
|
|
0x0B = 0x0000000B
|
|
0x0C = 0x0000000C
|
|
0x0D = 0x0000000D
|
|
0x0E = 0x0000000E
|
|
0x0F = 0x0000000F
|
|
0x10 = 0x00000010
|
|
0x11 = 0x00000011
|
|
0x12 = 0x00000012
|
|
0x13 = 0x00000013
|
|
0x14 = 0x00000014
|
|
0x15 = 0x00000015
|
|
0x16 = 0x00000016
|
|
0x17 = 0x00000017
|
|
0x18 = 0x00000018
|
|
0x19 = 0x00000019
|
|
0x1A = 0x0000001A
|
|
0x1B = 0x0000001B
|
|
0x1C = 0x0000001C
|
|
0x1D = 0x0000001D
|
|
0x1E = 0x0000001E
|
|
0x1F = 0x0000001F
|
|
0x20 = 0x00000020
|
|
0x21 = 0x00000021
|
|
0x22 = 0x00000022
|
|
0x23 = 0x00000023
|
|
0x24 = 0x00000024
|
|
0x25 = 0x00000025
|
|
0x26 = 0x00000026
|
|
0x27 = 0x00000027
|
|
0x28 = 0x00000028
|
|
0x29 = 0x00000029
|
|
0x2A = 0x0000002A
|
|
0x2B = 0x0000002B
|
|
0x2C = 0x0000002C
|
|
0x2D = 0x0000002D
|
|
0x2E = 0x0000002E
|
|
0x2F = 0x0000002F
|
|
0x30 = 0x00000030
|
|
0x31 = 0x00000031
|
|
0x32 = 0x00000032
|
|
0x33 = 0x00000033
|
|
0x34 = 0x00000034
|
|
0x35 = 0x00000035
|
|
0x36 = 0x00000036
|
|
0x37 = 0x00000037
|
|
0x38 = 0x00000038
|
|
0x39 = 0x00000039
|
|
0x3A = 0x0000003A
|
|
0x3B = 0x0000003B
|
|
0x3C = 0x0000003C
|
|
0x3D = 0x0000003D
|
|
0x3E = 0x0000003E
|
|
0x3F = 0x0000003F
|
|
0x40 = 0x00000040
|
|
0x41 = 0x00000041
|
|
0x42 = 0x00000042
|
|
0x43 = 0x00000043
|
|
0x44 = 0x00000044
|
|
0x45 = 0x00000045
|
|
0x46 = 0x00000046
|
|
0x47 = 0x00000047
|
|
0x48 = 0x00000048
|
|
0x49 = 0x00000049
|
|
0x4A = 0x0000004A
|
|
0x4B = 0x0000004B
|
|
0x4C = 0x0000004C
|
|
0x4D = 0x0000004D
|
|
0x4E = 0x0000004E
|
|
0x4F = 0x0000004F
|
|
0x50 = 0x00000050
|
|
0x51 = 0x00000051
|
|
0x52 = 0x00000052
|
|
0x53 = 0x00000053
|
|
0x54 = 0x00000054
|
|
0x55 = 0x00000055
|
|
0x56 = 0x00000056
|
|
0x57 = 0x00000057
|
|
0x58 = 0x00000058
|
|
0x59 = 0x00000059
|
|
0x5A = 0x0000005A
|
|
0x5B = 0x0000005B
|
|
0x5C = 0x0000005C
|
|
0x5D = 0x0000005D
|
|
0x5E = 0x0000005E
|
|
0x5F = 0x0000005F
|
|
0x60 = 0x00000060
|
|
0x61 = 0x00000061
|
|
0x62 = 0x00000062
|
|
0x63 = 0x00000063
|
|
0x64 = 0x00000064
|
|
0x65 = 0x00000065
|
|
0x66 = 0x00000066
|
|
0x67 = 0x00000067
|
|
0x68 = 0x00000068
|
|
0x69 = 0x00000069
|
|
0x6A = 0x0000006A
|
|
0x6B = 0x0000006B
|
|
0x6C = 0x0000006C
|
|
0x6D = 0x0000006D
|
|
0x6E = 0x0000006E
|
|
0x6F = 0x0000006F
|
|
0x70 = 0x00000070
|
|
0x71 = 0x00000071
|
|
0x72 = 0x00000072
|
|
0x73 = 0x00000073
|
|
0x74 = 0x00000074
|
|
0x75 = 0x00000075
|
|
0x76 = 0x00000076
|
|
0x77 = 0x00000077
|
|
0x78 = 0x00000078
|
|
0x79 = 0x00000079
|
|
0x7A = 0x0000007A
|
|
0x7B = 0x0000007B
|
|
0x7C = 0x0000007C
|
|
0x7D = 0x0000007D
|
|
0x7E = 0x0000007E
|
|
0x7F = 0x0000007F
|
|
0x80 = 0x000000C4
|
|
0x81 = 0x000000C5
|
|
0x82 = 0x000000C7
|
|
0x83 = 0x000000C9
|
|
0x84 = 0x000000D1
|
|
0x85 = 0x000000D6
|
|
0x86 = 0x000000DC
|
|
0x87 = 0x000000E1
|
|
0x88 = 0x000000E0
|
|
0x89 = 0x000000E2
|
|
0x8A = 0x000000E4
|
|
0x8B = 0x000000E3
|
|
0x8C = 0x000000E5
|
|
0x8D = 0x000000E7
|
|
0x8E = 0x000000E9
|
|
0x8F = 0x000000E8
|
|
0x90 = 0x000000EA
|
|
0x91 = 0x000000EB
|
|
0x92 = 0x000000ED
|
|
0x93 = 0x000000EC
|
|
0x94 = 0x000000EE
|
|
0x95 = 0x000000EF
|
|
0x96 = 0x000000F1
|
|
0x97 = 0x000000F3
|
|
0x98 = 0x000000F2
|
|
0x99 = 0x000000F4
|
|
0x9A = 0x000000F6
|
|
0x9B = 0x000000F5
|
|
0x9C = 0x000000FA
|
|
0x9D = 0x000000F9
|
|
0x9E = 0x000000FB
|
|
0x9F = 0x000000FC
|
|
0xA0 = 0x00002020
|
|
0xA1 = 0x000000B0
|
|
0xA2 = 0x000000A2
|
|
0xA3 = 0x000000A3
|
|
0xA4 = 0x000000A7
|
|
0xA5 = 0x00002022
|
|
0xA6 = 0x000000B6
|
|
0xA7 = 0x000000DF
|
|
0xA8 = 0x000000AE
|
|
0xA9 = 0x00000160
|
|
0xAA = 0x00002122
|
|
0xAB = 0x000000B4
|
|
0xAC = 0x000000A8
|
|
0xAD = 0x00002260
|
|
0xAE = 0x0000017D
|
|
0xAF = 0x000000D8
|
|
0xB0 = 0x0000221E
|
|
0xB1 = 0x000000B1
|
|
0xB2 = 0x00002264
|
|
0xB3 = 0x00002265
|
|
0xB4 = 0x00002206
|
|
0xB5 = 0x000000B5
|
|
0xB6 = 0x00002202
|
|
0xB7 = 0x00002211
|
|
0xB8 = 0x0000220F
|
|
0xB9 = 0x00000161
|
|
0xBA = 0x0000222B
|
|
0xBB = 0x000000AA
|
|
0xBC = 0x000000BA
|
|
0xBD = 0x00002126
|
|
0xBE = 0x0000017E
|
|
0xBF = 0x000000F8
|
|
0xC0 = 0x000000BF
|
|
0xC1 = 0x000000A1
|
|
0xC2 = 0x000000AC
|
|
0xC3 = 0x0000221A
|
|
0xC4 = 0x00000192
|
|
0xC5 = 0x00002248
|
|
0xC6 = 0x00000106
|
|
0xC7 = 0x000000AB
|
|
0xC8 = 0x0000010C
|
|
0xC9 = 0x00002026
|
|
0xCA = 0x000000A0
|
|
0xCB = 0x000000C0
|
|
0xCC = 0x000000C3
|
|
0xCD = 0x000000D5
|
|
0xCE = 0x00000152
|
|
0xCF = 0x00000153
|
|
0xD0 = 0x00000110
|
|
0xD1 = 0x00002014
|
|
0xD2 = 0x0000201C
|
|
0xD3 = 0x0000201D
|
|
0xD4 = 0x00002018
|
|
0xD5 = 0x00002019
|
|
0xD6 = 0x000000F7
|
|
0xD7 = 0x000025CA
|
|
0xD9 = 0x000000A9
|
|
0xDA = 0x00002044
|
|
0xDB = 0x000000A4
|
|
0xDC = 0x00002039
|
|
0xDD = 0x0000203A
|
|
0xDE = 0x000000C6
|
|
0xDF = 0x000000BB
|
|
0xE0 = 0x00002013
|
|
0xE1 = 0x000000B7
|
|
0xE2 = 0x0000201A
|
|
0xE3 = 0x0000201E
|
|
0xE4 = 0x00002030
|
|
0xE5 = 0x000000C2
|
|
0xE6 = 0x00000107
|
|
0xE7 = 0x000000C1
|
|
0xE8 = 0x0000010D
|
|
0xE9 = 0x000000C8
|
|
0xEA = 0x000000CD
|
|
0xEB = 0x000000CE
|
|
0xEC = 0x000000CF
|
|
0xED = 0x000000CC
|
|
0xEE = 0x000000D3
|
|
0xEF = 0x000000D4
|
|
0xF0 = 0x00000111
|
|
0xF1 = 0x000000D2
|
|
0xF2 = 0x000000DA
|
|
0xF3 = 0x000000DB
|
|
0xF4 = 0x000000D9
|
|
0xF5 = 0x00000131
|
|
0xF6 = 0x000002C6
|
|
0xF7 = 0x000002DC
|
|
0xF8 = 0x000000AF
|
|
0xF9 = 0x000003C0
|
|
0xFA = 0x000000CB
|
|
0xFB = 0x000002DA
|
|
0xFC = 0x000000B8
|
|
0xFD = 0x000000CA
|
|
0xFE = 0x000000E6
|
|
0xFF = 0x000002C7
|