freebsd-skq/share/i18n/csmapper/CP/CP864%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

158 lines
2.6 KiB
Plaintext

# $FreeBSD$
# $NetBSD: CP864%UCS.src,v 1.3 2006/10/19 14:06:14 tnozaki Exp $
TYPE ROWCOL
NAME "CP864/UCS"
SRC_ZONE 0x00-0xFF
OOB_MODE ILSEQ
DST_ILSEQ 0xFFFE
DST_UNIT_BITS 16
BEGIN_MAP
#
# This mapping data is made from the mapping data provided by Unicode, Inc.
# Original notice:
#
# Name: cp864_DOSArabic to Unicode table
# Unicode version: 2.0
# Table version: 2.00
# Table format: Format A
# Date: 04/24/96
# Authors: Lori Brownell <loribr@microsoft.com>
# K.D. Chang <a-kchang@microsoft.com>
# General notes: none
#
# Format: Three tab-separated columns
# Column #1 is the cp864_DOSArabic code (in hex)
# Column #2 is the Unicode (in hex as 0xXXXX)
# Column #3 is the Unicode name (follows a comment sign, '#')
#
# The entries are in cp864_DOSArabic order
#
0x00 - 0x24 = 0x0000 -
0x25 = 0x066A
0x26 - 0x7F = 0x0026 -
0x80 = 0x00B0
0x81 = 0x00B7
0x82 = 0x2219
0x83 = 0x221A
0x84 = 0x2592
0x85 = 0x2500
0x86 = 0x2502
0x87 = 0x253C
0x88 = 0x2524
0x89 = 0x252C
0x8A = 0x251C
0x8B = 0x2534
0x8C = 0x2510
0x8D = 0x250C
0x8E = 0x2514
0x8F = 0x2518
0x90 = 0x03B2
0x91 = 0x221E
0x92 = 0x03C6
0x93 = 0x00B1
0x94 = 0x00BD
0x95 = 0x00BC
0x96 = 0x2248
0x97 = 0x00AB
0x98 = 0x00BB
0x99 = 0xFEF7
0x9A = 0xFEF8
0x9D = 0xFEFB
0x9E = 0xFEFC
0xA0 = 0x00A0
0xA1 = 0x00AD
0xA2 = 0xFE82
0xA3 = 0x00A3
0xA4 = 0x00A4
0xA5 = 0xFE84
0xA8 = 0xFE8E
0xA9 = 0xFE8F
0xAA = 0xFE95
0xAB = 0xFE99
0xAC = 0x060C
0xAD = 0xFE9D
0xAE = 0xFEA1
0xAF = 0xFEA5
0xB0 = 0x0660
0xB1 = 0x0661
0xB2 = 0x0662
0xB3 = 0x0663
0xB4 = 0x0664
0xB5 = 0x0665
0xB6 = 0x0666
0xB7 = 0x0667
0xB8 = 0x0668
0xB9 = 0x0669
0xBA = 0xFED1
0xBB = 0x061B
0xBC = 0xFEB1
0xBD = 0xFEB5
0xBE = 0xFEB9
0xBF = 0x061F
0xC0 = 0x00A2
0xC1 = 0xFE80
0xC2 = 0xFE81
0xC3 = 0xFE83
0xC4 = 0xFE85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