freebsd-dev/share/i18n/csmapper/MISC/TDS565%UCS.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

59 lines
997 B
Plaintext

# $FreeBSD$
# $NetBSD: TDS565%UCS.src,v 1.1 2006/11/29 15:45:26 tnozaki Exp $
TYPE ROWCOL
NAME TDS565/UCS
SRC_ZONE 0x00-0x7E
OOB_MODE ILSEQ
DST_ILSEQ 0xFFFE
DST_UNIT_BITS 16
BEGIN_MAP
#
# This mapping data is made from :
# http://www.itscj.ipsj.or.jp/ISO-IR/230.pdf
#
0x00 - 0x42 = 0x0000 -
0x43 = 0x00C7
0x44 - 0x45 = 0x0044 -
0x46 = 0x00C4
0x47 - 0x4B = 0x0046 -
0x4C = 0x017D
0x4D - 0x50 = 0x004B -
0x51 = 0x0147
0x52 = 0x004F
0x53 = 0x00D6
0x54 = 0x0050
0x55 - 0x56 = 0x0052 -
0x57 = 0x015E
0x58 - 0x59 = 0x0054 -
0x5A = 0x00DC
0x5B = 0x0057
0x5C = 0x0059
0x5D = 0x00DD
0x5E = 0x005A
0x5F = 0x005F
0x60 = 0x2116
0x61 - 0x62 = 0x0061 -
0x63 = 0x00E7 -
0x64 - 0x65 = 0x0064 -
0x66 = 0x00E4
0x67 - 0x6B = 0x0066 -
0x6C = 0x017E
0x6D - 0x70 = 0x006B -
0x71 = 0x0148
0x72 = 0x006F
0x73 = 0x00F6
0x74 = 0x0070
0x75 = 0x0072
0x76 = 0x0073
0x77 = 0x015F
0x78 = 0x0074
0x79 = 0x0075
0x7A = 0x00FC
0x7B = 0x0077
0x7C = 0x0079
0x7D = 0x00FD
0x7E = 0x007A
END_MAP