freebsd-skq/share/i18n/csmapper/KOI/KOI7%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

52 lines
819 B
Plaintext

# $FreeBSD$
# $NetBSD: KOI7%UCS.src,v 1.2 2006/09/16 08:38:20 tnozaki Exp $
TYPE ROWCOL
NAME "KOI7/UCS"
SRC_ZONE 0x00-0x7F
OOB_MODE ILSEQ
DST_ILSEQ 0xFFFE
DST_UNIT_BITS 16
BEGIN_MAP
#
# This table is generated from RFC1345 and
# http://www.iis.ru/cyrillic/resource/tables/cpkoi7gost19768-74.gif
#
0x00 - 0x23 = 0x0000 -
0x24 = 0x00A4
0x25 - 0x5F = 0x0025 -
0x60 = 0x042E
0x61 = 0x0410
0x62 = 0x0411
0x63 = 0x0426
0x64 = 0x0414
0x65 = 0x0415
0x66 = 0x0424
0x67 = 0x0413
0x68 = 0x0425
0x69 = 0x0418
0x6A = 0x0419
0x6B = 0x041A
0x6C = 0x041B
0x6D = 0x041C
0x6E = 0x041D
0x6F = 0x041E
0x70 = 0x041F
0x71 = 0x042F
0x72 = 0x0420
0x73 = 0x0421
0x74 = 0x0422
0x75 = 0x0423
0x76 = 0x0416
0x77 = 0x0412
0x78 = 0x042C
0x79 = 0x042B
0x7A = 0x0417
0x7B = 0x0428
0x7C = 0x042D
0x7D = 0x0429
0x7E = 0x0427
0x7F = 0x007F
END_MAP