freebsd-skq/share/i18n/csmapper/JIS/UCS@SIP%JISX0213-1.src

58 lines
1.4 KiB
Plaintext
Raw Normal View History

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
# $FreeBSD$
# $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