add following encoding support to iconv:

* KOI-7(iso-ir-37, iso-5427)
	* KOI-8(old KOI8)
	* KOI7-switched(iso-2022 variant)
	* KOI8-C -- Pablo Saratxaga's  X_LOCALE KOI8-C(Caucasus)
	* KOI8-CyrillicOld -- Serge Winitzki's KOI8-C(Cyrillic-Old)
	  ** not exported yet **
	* KOI8-E(iso-ir-111, ecma-cyrillic)
	* KOI8-RU
	* KOI8-T
This commit is contained in:
tnozaki 2006-04-08 14:15:48 +00:00
parent 3828a8c073
commit a3e63d71ca
39 changed files with 1575 additions and 383 deletions

View File

@ -1,4 +1,4 @@
# $NetBSD: mi,v 1.611 2006/04/03 08:15:49 scw Exp $ # $NetBSD: mi,v 1.612 2006/04/08 14:15:48 tnozaki Exp $
. base-sys-root . base-sys-root
./altroot base-sys-root ./altroot base-sys-root
./bin base-sys-root ./bin base-sys-root
@ -1680,17 +1680,36 @@
./usr/share/i18n/csmapper/JIS/UCS%JISX0212@MS.mps base-sysutil-share nls ./usr/share/i18n/csmapper/JIS/UCS%JISX0212@MS.mps base-sysutil-share nls
./usr/share/i18n/csmapper/JIS/UCS%JISX0212UDC.mps base-sysutil-share nls ./usr/share/i18n/csmapper/JIS/UCS%JISX0212UDC.mps base-sysutil-share nls
./usr/share/i18n/csmapper/JIS/UCS%JISX0212VDC@IBM.mps base-sysutil-share nls ./usr/share/i18n/csmapper/JIS/UCS%JISX0212VDC@IBM.mps base-sysutil-share nls
./usr/share/i18n/csmapper/KOI base-sysutil-share
./usr/share/i18n/csmapper/KOI/KOI7%UCS.mps base-sysutil-share nls
./usr/share/i18n/csmapper/KOI/KOI8%UCS.mps base-sysutil-share nls
./usr/share/i18n/csmapper/KOI/KOI8-BASE%UCS.mps base-sysutil-share nls
./usr/share/i18n/csmapper/KOI/KOI8-C%UCS.mps base-sysutil-share nls
./usr/share/i18n/csmapper/KOI/KOI8-E%UCS.mps base-sysutil-share nls
./usr/share/i18n/csmapper/KOI/KOI8-R%UCS.mps base-sysutil-share nls
./usr/share/i18n/csmapper/KOI/KOI8-RU%UCS.mps base-sysutil-share nls
./usr/share/i18n/csmapper/KOI/KOI8-T%UCS.mps base-sysutil-share nls
./usr/share/i18n/csmapper/KOI/KOI8-U%UCS.mps base-sysutil-share nls
./usr/share/i18n/csmapper/KOI/UCS%KOI7.mps base-sysutil-share nls
./usr/share/i18n/csmapper/KOI/UCS%KOI8-BASE.mps base-sysutil-share nls
./usr/share/i18n/csmapper/KOI/UCS%KOI8-C.mps base-sysutil-share nls
./usr/share/i18n/csmapper/KOI/UCS%KOI8-E.mps base-sysutil-share nls
./usr/share/i18n/csmapper/KOI/UCS%KOI8-R.mps base-sysutil-share nls
./usr/share/i18n/csmapper/KOI/UCS%KOI8-RU.mps base-sysutil-share nls
./usr/share/i18n/csmapper/KOI/UCS%KOI8-T.mps base-sysutil-share nls
./usr/share/i18n/csmapper/KOI/UCS%KOI8-U.mps base-sysutil-share nls
./usr/share/i18n/csmapper/KOI/UCS%KOI8.mps base-sysutil-share nls
./usr/share/i18n/csmapper/KS base-sysutil-share ./usr/share/i18n/csmapper/KS base-sysutil-share
./usr/share/i18n/csmapper/KS/KSC5601%UCS.mps base-sysutil-share nls ./usr/share/i18n/csmapper/KS/KSC5601%UCS.mps base-sysutil-share nls
./usr/share/i18n/csmapper/KS/UCS%KSC5601.mps base-sysutil-share nls ./usr/share/i18n/csmapper/KS/UCS%KSC5601.mps base-sysutil-share nls
./usr/share/i18n/csmapper/MISC base-sysutil-share ./usr/share/i18n/csmapper/MISC base-sysutil-share
./usr/share/i18n/csmapper/MISC/Big5%UCS.mps base-sysutil-share nls ./usr/share/i18n/csmapper/MISC/Big5%UCS.mps base-sysutil-share nls
./usr/share/i18n/csmapper/MISC/KOI8-R%UCS.mps base-sysutil-share nls ./usr/share/i18n/csmapper/MISC/KOI8-R%UCS.mps base-obsolete obsolete
./usr/share/i18n/csmapper/MISC/KOI8-U%UCS.mps base-sysutil-share nls ./usr/share/i18n/csmapper/MISC/KOI8-U%UCS.mps base-obsolete obsolete
./usr/share/i18n/csmapper/MISC/PTCP154%UCS.mps base-sysutil-share nls ./usr/share/i18n/csmapper/MISC/PTCP154%UCS.mps base-sysutil-share nls
./usr/share/i18n/csmapper/MISC/UCS%Big5.mps base-sysutil-share nls ./usr/share/i18n/csmapper/MISC/UCS%Big5.mps base-sysutil-share nls
./usr/share/i18n/csmapper/MISC/UCS%KOI8-R.mps base-sysutil-share nls ./usr/share/i18n/csmapper/MISC/UCS%KOI8-R.mps base-obsolete obsolete
./usr/share/i18n/csmapper/MISC/UCS%KOI8-U.mps base-sysutil-share nls ./usr/share/i18n/csmapper/MISC/UCS%KOI8-U.mps base-obsolete obsolete
./usr/share/i18n/csmapper/MISC/UCS%PTCP154.mps base-sysutil-share nls ./usr/share/i18n/csmapper/MISC/UCS%PTCP154.mps base-sysutil-share nls
./usr/share/i18n/csmapper/charset.pivot base-sysutil-share nls ./usr/share/i18n/csmapper/charset.pivot base-sysutil-share nls
./usr/share/i18n/csmapper/charset.pivot.pvdb base-sysutil-share nls ./usr/share/i18n/csmapper/charset.pivot.pvdb base-sysutil-share nls
@ -1851,12 +1870,22 @@
./usr/share/i18n/esdb/ISO646/ISO646-SE2.esdb base-sysutil-share nls ./usr/share/i18n/esdb/ISO646/ISO646-SE2.esdb base-sysutil-share nls
./usr/share/i18n/esdb/ISO646/ISO646-US.esdb base-sysutil-share nls ./usr/share/i18n/esdb/ISO646/ISO646-US.esdb base-sysutil-share nls
./usr/share/i18n/esdb/ISO646/ISO646-YU.esdb base-sysutil-share nls ./usr/share/i18n/esdb/ISO646/ISO646-YU.esdb base-sysutil-share nls
./usr/share/i18n/esdb/KOI base-sysutil-share
./usr/share/i18n/esdb/KOI/KOI7-switched.esdb base-sysutil-share nls
./usr/share/i18n/esdb/KOI/KOI7.esdb base-sysutil-share nls
./usr/share/i18n/esdb/KOI/KOI8-C.esdb base-sysutil-share nls
./usr/share/i18n/esdb/KOI/KOI8-E.esdb base-sysutil-share nls
./usr/share/i18n/esdb/KOI/KOI8-R.esdb base-sysutil-share nls
./usr/share/i18n/esdb/KOI/KOI8-RU.esdb base-sysutil-share nls
./usr/share/i18n/esdb/KOI/KOI8-T.esdb base-sysutil-share nls
./usr/share/i18n/esdb/KOI/KOI8-U.esdb base-sysutil-share nls
./usr/share/i18n/esdb/KOI/KOI8.esdb base-sysutil-share nls
./usr/share/i18n/esdb/MISC base-sysutil-share ./usr/share/i18n/esdb/MISC base-sysutil-share
./usr/share/i18n/esdb/MISC/Big5.esdb base-sysutil-share nls ./usr/share/i18n/esdb/MISC/Big5.esdb base-sysutil-share nls
./usr/share/i18n/esdb/MISC/CTEXT.esdb base-sysutil-share nls ./usr/share/i18n/esdb/MISC/CTEXT.esdb base-sysutil-share nls
./usr/share/i18n/esdb/MISC/GB18030.esdb base-sysutil-share nls ./usr/share/i18n/esdb/MISC/GB18030.esdb base-sysutil-share nls
./usr/share/i18n/esdb/MISC/KOI8-R.esdb base-sysutil-share nls ./usr/share/i18n/esdb/MISC/KOI8-R.esdb base-obsolete obsolete
./usr/share/i18n/esdb/MISC/KOI8-U.esdb base-sysutil-share nls ./usr/share/i18n/esdb/MISC/KOI8-U.esdb base-obsolete obsolete
./usr/share/i18n/esdb/MISC/PTCP154.esdb base-sysutil-share nls ./usr/share/i18n/esdb/MISC/PTCP154.esdb base-sysutil-share nls
./usr/share/i18n/esdb/MISC/Shift_JIS.esdb base-sysutil-share nls ./usr/share/i18n/esdb/MISC/Shift_JIS.esdb base-sysutil-share nls
./usr/share/i18n/esdb/UTF base-sysutil-share ./usr/share/i18n/esdb/UTF base-sysutil-share

View File

@ -1,4 +1,4 @@
# $NetBSD: NetBSD.dist,v 1.307 2006/04/07 12:40:10 drochner Exp $ # $NetBSD: NetBSD.dist,v 1.308 2006/04/08 14:15:48 tnozaki Exp $
# @(#)4.4BSD.dist 8.1 (Berkeley) 6/13/93 # @(#)4.4BSD.dist 8.1 (Berkeley) 6/13/93
/set type=dir uname=root gname=wheel mode=0755 /set type=dir uname=root gname=wheel mode=0755
@ -471,6 +471,7 @@
./usr/share/i18n/csmapper/ISO-8859 ./usr/share/i18n/csmapper/ISO-8859
./usr/share/i18n/csmapper/ISO646 ./usr/share/i18n/csmapper/ISO646
./usr/share/i18n/csmapper/JIS ./usr/share/i18n/csmapper/JIS
./usr/share/i18n/csmapper/KOI
./usr/share/i18n/csmapper/KS ./usr/share/i18n/csmapper/KS
./usr/share/i18n/csmapper/MISC ./usr/share/i18n/csmapper/MISC
./usr/share/i18n/esdb ./usr/share/i18n/esdb
@ -482,6 +483,7 @@
./usr/share/i18n/esdb/ISO-2022 ./usr/share/i18n/esdb/ISO-2022
./usr/share/i18n/esdb/ISO-8859 ./usr/share/i18n/esdb/ISO-8859
./usr/share/i18n/esdb/ISO646 ./usr/share/i18n/esdb/ISO646
./usr/share/i18n/esdb/KOI
./usr/share/i18n/esdb/MISC ./usr/share/i18n/esdb/MISC
./usr/share/i18n/esdb/UTF ./usr/share/i18n/esdb/UTF
./usr/share/i18n/iconv ./usr/share/i18n/iconv

View File

@ -0,0 +1,81 @@
# $NetBSD: KOI7%UCS.src,v 1.1 2006/04/08 14:15:48 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.
#
0x00 - 0x23 = 0x0000 -
0x24 = 0x00A4
0x25 - 0x3F = 0x0025 -
0x40 = 0x044E
0x41 = 0x0430
0x42 = 0x0431
0x43 = 0x0446
0x44 = 0x0434
0x45 = 0x0435
0x46 = 0x0444
0x47 = 0x0433
0x48 = 0x0445
0x49 = 0x0438
0x4A = 0x0439
0x4B = 0x043A
0x4C = 0x043B
0x4D = 0x043C
0x4E = 0x043D
0x4F = 0x043E
0x50 = 0x043F
0x51 = 0x044F
0x52 = 0x0440
0x53 = 0x0441
0x54 = 0x0442
0x55 = 0x0443
0x56 = 0x0436
0x57 = 0x0432
0x58 = 0x044C
0x59 = 0x044B
0x5A = 0x0437
0x5B = 0x0448
0x5C = 0x044D
0x5D = 0x0449
0x5E = 0x0447
0x5F = 0x044A
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

View File

@ -0,0 +1,15 @@
# $NetBSD: KOI8%UCS.src,v 1.1 2006/04/08 14:15:48 tnozaki Exp $
TYPE ROWCOL
NAME "KOI8/UCS"
SRC_ZONE 0x00-0xFF
OOB_MODE ILSEQ
DST_ILSEQ 0xFFFE
DST_UNIT_BITS 16
BEGIN_MAP
0x00 - 0x23 = 0x0000 -
0x24 = 0xA4
0x25 - 0x7F = 0x0025 -
0xFF = 0xFF
END_MAP

View File

@ -0,0 +1,123 @@
# $NetBSD: KOI8-BASE%UCS.src,v 1.1 2006/04/08 14:15:48 tnozaki Exp $
TYPE ROWCOL
NAME "KOI8-BASE/UCS"
SRC_ZONE 0xC0-0xFE
OOB_MODE INVALID
DST_INVALID 0xFFFE
DST_UNIT_BITS 16
BEGIN_MAP
#
# This mapping data is made from the mapping data provided by Unicode, Inc.
# Original notice:
#
# Name: KOI8-R (RFC1489) to Unicode
# Unicode version: 3.0
# Table version: 1.0
# Table format: Format A
# Date: 18 August 1999
# Authors: Helmut Richter <richter@lrz.de>
#
# Copyright (c) 1991-1999 Unicode, Inc. All Rights reserved.
#
# This file is provided as-is by Unicode, Inc. (The Unicode Consortium).
# No claims are made as to fitness for any particular purpose. No
# warranties of any kind are expressed or implied. The recipient
# agrees to determine applicability of information provided. If this
# file has been provided on optical media by Unicode, Inc., the sole
# remedy for any claim will be exchange of defective media within 90
# days of receipt.
#
# Unicode, Inc. hereby grants the right to freely use the information
# supplied in this file in the creation of products supporting the
# Unicode Standard, and to make copies of this file in any form for
# internal or external distribution as long as this notice remains
# attached.
#
# General notes:
#
# This table contains the data the Unicode Consortium has on how
# KOI8-R characters map into Unicode. The underlying document is the
# mapping described in RFC 1489. No statements are made as to whether
# this mapping is the same as the mapping defined as "Code Page 878"
# with some vendors.
#
# Format: Three tab-separated columns
# Column #1 is the KOI8-R code (in hex as 0xXX)
# Column #2 is the Unicode (in hex as 0xXXXX)
# Column #3 the Unicode name (follows a comment sign, '#')
#
# The entries are in KOI8-R order.
#
# Version history
# 1.0 version: created.
#
# Any comments or problems, contact <errata@unicode.org>
# Please note that <errata@unicode.org> is an archival address;
# notices will be checked, but do not expect an immediate response.
#
0xC0 = 0x044E
0xC1 = 0x0430
0xC2 = 0x0431
0xC3 = 0x0446
0xC4 = 0x0434
0xC5 = 0x0435
0xC6 = 0x0444
0xC7 = 0x0433
0xC8 = 0x0445
0xC9 = 0x0438
0xCA = 0x0439
0xCB = 0x043A
0xCC = 0x043B
0xCD = 0x043C
0xCE = 0x043D
0xCF = 0x043E
0xD0 = 0x043F
0xD1 = 0x044F
0xD2 = 0x0440
0xD3 = 0x0441
0xD4 = 0x0442
0xD5 = 0x0443
0xD6 = 0x0436
0xD7 = 0x0432
0xD8 = 0x044C
0xD9 = 0x044B
0xDA = 0x0437
0xDB = 0x0448
0xDC = 0x044D
0xDD = 0x0449
0xDE = 0x0447
0xDF = 0x044A
0xE0 = 0x042E
0xE1 = 0x0410
0xE2 = 0x0411
0xE3 = 0x0426
0xE4 = 0x0414
0xE5 = 0x0415
0xE6 = 0x0424
0xE7 = 0x0413
0xE8 = 0x0425
0xE9 = 0x0418
0xEA = 0x0419
0xEB = 0x041A
0xEC = 0x041B
0xED = 0x041C
0xEE = 0x041D
0xEF = 0x041E
0xF0 = 0x041F
0xF1 = 0x042F
0xF2 = 0x0420
0xF3 = 0x0421
0xF4 = 0x0422
0xF5 = 0x0423
0xF6 = 0x0416
0xF7 = 0x0412
0xF8 = 0x042C
0xF9 = 0x042B
0xFA = 0x0417
0xFB = 0x0428
0xFC = 0x042D
0xFD = 0x0429
0xFE = 0x0427
END_MAP

View File

@ -0,0 +1,88 @@
# $NetBSD: KOI8-C%UCS.src,v 1.1 2006/04/08 14:15:48 tnozaki Exp $
TYPE ROWCOL
NAME "KOI8-C/UCS"
SRC_ZONE 0x00-0xFF
OOB_MODE ILSEQ
DST_ILSEQ 0xFFFE
DST_UNIT_BITS 16
BEGIN_MAP
#
# Pablo Saratxaga's X_LOCALE KOI8-C(Caucasus)
#
# this table is generated from:
#
# KOI8-C GIF Image
# http://sensi.org/locale/msg00521.html
# http://sensi.org/locale/bin00007.bin(KOI8C.GIF)
# Unicode 4.1
# http://www.unicode.org/charts/PDF/U0400.pdf
#
0x00 - 0x7F = 0x0000 -
0x80 = 0x0493 # CYRILLIC SMALL LETTER GHE WITH STROKE
0x81 = 0x0497 # CYRILLIC SMALL LETTER ZHE WITH DESCENDER
0x82 = 0x049B # CYRILLIC SMALL LETTER KA WITH DESCENDER
0x83 = 0x049D # CYRILLIC SMALL LETTER KA WITH VERTICAL STROKE
0x84 = 0x04CA # CYRILLIC SMALL LETTER EN WITH TAIL
0x85 = 0x04AF # CYRILLIC SMALL LETTER STRAIGHT U
0x86 = 0x04B1 # CYRILLIC SMALL LETTER STRAIGHT U WITH STROKE
0x87 = 0x04B3 # CYRILLIC SMALL LETTER HA WITH DESCENDER
0x88 = 0x04B7 # CYRILLIC SMALL LETTER CHE WITH DESCENDER
0x89 = 0x04B9 # CYRILLIC SMALL LETTER CHE WITH VERTICAL STROKE
0x8A = 0x04BB # CYRILLIC SMALL LETTER SHHA
0x8B = 0x008B # <CONTROL>
0x8C = 0x04D9 # CYRILLIC SMALL LETTER SCHWA
0x8D = 0x008D # <CONTROL>
0x8E = 0x04E9 # CYRILLIC SMALL LETTER BARRED O
0x8F = 0x008F # <CONTROL>
0x90 = 0x0492 # CYRILLIC CAPITAL LETTER GHE WITH STROKE
0x91 = 0x0496 # CYRILLIC CAPITAL LETTER ZHE WITH DESCENDER
0x92 = 0x049A # CYRILLIC CAPITAL LETTER KA WITH DESCENER
0x93 = 0x049C # CYRILLIC CAPITAL LETTER KA WITH VERTICAL STROKE
0x94 = 0x04C9 # CYRILLIC CAPITAL LETTER EN WITH TAIL
0x95 = 0x04AE # CYRILLIC CAPITAL LETTER STRAIGHT U
0x96 = 0x04B0 # CYRILLIC CAPITAL LETTER STRAIGHT U WITH STROKE
0x97 = 0x04B2 # CYRILLIC CAPITAL LETTER HA WITH DESCENDER
0x98 = 0x04B6 # CYRILLIC CAPITAL LETTER CHE WITH DESCENDER
0x99 = 0x04B8 # CYRILLIC CAPITAL LETTER CHE WITH VERTICAL STROKE
0x9A = 0x04BA # CYRILLIC CAPITAL LETTER SHHA
0x9B = 0x009B # <CONTROL>
0x9C = 0x04D8 # CYRILLIC CAPITAL LETTER SCHWA
0x9D = 0x009D # <CONTROL>
0x9E = 0x04E8 # CYRILLIC CAPITAL LETTER BARRED O
0x9F = 0x009F # <CONTROL>
0xA0 = 0x00A0 # NO-BREAK SPACE
0xA1 = 0x0452 # CYRILLIC SMALL LETTER DJE
0xA2 = 0x0453 # CYRILLIC SMALL LETTER GJE
0xA3 = 0x0451 # CYRILLIC SMALL LETTER IO
0xA4 = 0x0454 # CYRILLIC SMALL LETTER UKRAINIAN IE
0xA5 = 0x0455 # CYRILLIC SMALL LETTER DZE
0xA6 = 0x0456 # CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I
0xA7 = 0x0457 # CYRILLIC SMALL LETTER YI
0xA8 = 0x0458 # CYRILLIC SMALL LETTER JE
0xA9 = 0x0459 # CYRILLIC SMALL LETTER LJE
0xAA = 0x045A # CYRILLIC SMALL LETTER NJE
0xAB = 0x045B # CYRILLIC SMALL LETTER TSHE
0xAC = 0x045C # CYRILLIC SMALL LETTER KJE
0xAD = 0x0491 # CYRILLIC SMALL LETTER GHE WITH UPTURN
0xAE = 0x045E # CYRILLIC SMALL LETTER SHORT U
0xAF = 0x045F # CYRILLIC SMALL LETTER DZHE
0xB0 = 0x2116 # NUMERO SIGN
0xB1 = 0x0402 # CYRILLIC CAPITAL LETTER DJE
0xB2 = 0x0403 # CYRILLIC CAPITAL LETTER GJE
0xB3 = 0x0401 # CYRILLIC CAPITAL LETTER IO
0xB4 = 0x0404 # CYRILLIC CAPITAL LETTER UKRAINIAN IE
0xB5 = 0x0405 # CYRILLIC CAPITAL LETTER DZE
0xB6 = 0x0406 # CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I
0xB7 = 0x0407 # CYRILLIC CAPITAL LETTER YI
0xB8 = 0x0408 # CYRILLIC CAPITAL LETTER JE
0xB9 = 0x0409 # CYRILLIC CAPITAL LETTER LJE
0xBA = 0x040A # CYRILLIC CAPITAL LETTER NJE
0xBB = 0x040B # CYRILLIC CAPITAL LETTER TSHE
0xBC = 0x040C # CYRILLIC CAPITAL LETTER KJE
0xBD = 0x0490 # CYRILLIC CAPITAL LETTER GHE WITH UPTURN
0xBE = 0x040E # CYRILLIC CAPITAL LETTER SHORT U
0xBF = 0x040F # CYRILLIC CAPITAL LETTER DZHE
0xFF = 0x042A # CYRILLIC CAPITAL LETTER HARD SIGN
END_MAP

View File

@ -0,0 +1,119 @@
# $NetBSD: KOI8-CyrillicOld%UCS.src,v 1.1 2006/04/08 14:15:48 tnozaki Exp $
TYPE ROWCOL
NAME "KOI8-CyrillicOld/UCS"
SRC_ZONE 0x00-0xFF
OOB_MODE ILSEQ
DST_ILSEQ 0xFFFE
DST_UNIT_BITS 16
BEGIN_MAP
#
# this table is generated from:
#
# Internet Draft Serge Winitzki
# draft-winitzki-koi8c-encoding-00.txt
# Expires: April 2002
#
# Extended Cyrillic Character Set
# KOI8-C
0x00 = 0x0000
0x01 = 0x25C6
0x02 = 0x2592
0x03 = 0x00D7
0x04 = 0x00F7
0x05 = 0x2030
0x06 = 0x2248
0x07 = 0x00B5
0x08 = 0x00B1
0x09 = 0x00B6
0x0A = 0x2021
0x0B = 0x2518
0x0C = 0x2510
0x0D = 0x250C
0x0E = 0x2514
0x0F = 0x253C
0x10 = 0x0010
0x11 = 0x0011
0x12 = 0x2500
0x13 = 0x0013
0x14 = 0x0014
0x15 = 0x251C
0x16 = 0x2524
0x17 = 0x2534
0x18 = 0x252C
0x19 = 0x2502
0x1A = 0x2264
0x1B = 0x2265
0x1C = 0x03C0
0x1D = 0x2260
0x1E = 0x00A4
0x1F = 0x00B2
0x20 - 0x7E = 0x0020 -
0x7F = 0x00AC
0x80 = 0x0402
0x81 = 0x0403
0x82 = 0x00B8
0x83 = 0x0453
0x84 = 0x201E
0x85 = 0x2026
0x86 = 0x2020
0x87 = 0x00A7
0x88 = 0x20AC
0x89 = 0x00A8
0x8A = 0x0409
0x8B = 0x2039
0x8C = 0x040A
0x8D = 0x040C
0x8E = 0x040B
0x8F = 0x040F
0x90 = 0x0452
0x91 = 0x2018
0x92 = 0x2019
0x93 = 0x201C
0x94 = 0x201D
0x95 = 0x2022
0x96 = 0x2013
0x97 = 0x2014
0x98 = 0x00A3
0x99 = 0x00B7
0x9A = 0x0459
0x9B = 0x203A
0x9C = 0x045A
0x9D = 0x045C
0x9E = 0x045B
0x9F = 0x045F
0xA0 = 0x00A0
0xA1 = 0x0475
0xA2 = 0x0463
0xA3 = 0x0451
0xA4 = 0x0454
0xA5 = 0x0455
0xA6 = 0x0456
0xA7 = 0x0457
0xA8 = 0x0458
0xA9 = 0x00AE
0xAA = 0x2122
0xAB = 0x00AB
0xAC = 0x0473
0xAD = 0x0491
0xAE = 0x045E
0xAF = 0x00B4
0xB0 = 0x00B0
0xB1 = 0x0474
0xB2 = 0x0462
0xB3 = 0x0401
0xB4 = 0x0404
0xB5 = 0x0405
0xB6 = 0x0406
0xB7 = 0x0407
0xB8 = 0x0408
0xB9 = 0x2116
0xBA = 0x00A2
0xBB = 0x00BB
0xBC = 0x0472
0xBD = 0x0490
0xBE = 0x040E
0xBF = 0x00A9
0xFF = 0x042A
END_MAP

View File

@ -0,0 +1,54 @@
# $NetBSD: KOI8-E%UCS.src,v 1.1 2006/04/08 14:15:48 tnozaki Exp $
TYPE ROWCOL
NAME "KOI8-E/UCS"
SRC_ZONE 0x00-0xFF
OOB_MODE ILSEQ
DST_ILSEQ 0xFFFE
DST_UNIT_BITS 16
BEGIN_MAP
#
# this table is generated from:
#
# ISO-IR-111
# http://www.itscj.ipsj.or.jp/ISO-IR/111.pdf
# Unicode 4.1
# http://www.unicode.org/charts/PDF/U0080.pdf
# http://www.unicode.org/charts/PDF/U0400.pdf
# http://www.unicode.org/charts/PDF/U2100.pdf
#
0x00 - 0xA0 = 0x0000 -
0xA1 = 0x0452 # CYRILLIC SMALL LETTER DJE
0xA2 = 0x0453 # CYRILLIC SMALL LETTER GJE
0xA3 = 0x0451 # CYRILLIC SMALL LETTER IO
0xA4 = 0x0454 # CYRILLIC SMALL LETTER UKRAINIAN IE
0xA5 = 0x0455 # CYRILLIC SMALL LETTER DZE
0xA6 = 0x0456 # CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I
0xA7 = 0x0457 # CYRILLIC SMALL LETTER YI
0xA8 = 0x0458 # CYRILLIC SMALL LETTER JE
0xA9 = 0x0459 # CYRILLIC SMALL LETTER LJE
0xAA = 0x045A # CYRILLIC SMALL LETTER NJE
0xAB = 0x045B # CYRILLIC SMALL LETTER TSHE
0xAC = 0x045C # CYRILLIC SMALL LETTER KJE
0xAD = 0x00AD # SOFT HYPHEN
0xAE = 0x045E # CYRILLIC SMALL LETTER SHORT U
0xAF = 0x045F # CYRILLIC SMALL LETTER DZHE
0xB0 = 0x2116 # NUMERO SIGN
0xB1 = 0x0402 # CYRILLIC CAPITAL LETTER DJE
0xB2 = 0x0403 # CYRILLIC CAPITAL LETTER GJE
0xB3 = 0x0401 # CYRILLIC CAPITAL LETTER IO
0xB4 = 0x0408 # CYRILLIC CAPITAL LETTER IE
0xB5 = 0x0405 # CYRILLIC CAPITAL LETTER DZE
0xB6 = 0x0406 # CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I
0xB7 = 0x0407 # CYRILLIC CAPITAL LETTER YI
0xB8 = 0x0408 # CYRILLIC CAPITAL LETTER JE
0xB9 = 0x0409 # CYRILLIC CAPITAL LETTER LJE
0xBA = 0x040A # CYRILLIC CAPITAL LETTER NJE
0xBB = 0x040B # CYRILLIC CAPITAL LETTER TSHE
0xBC = 0x040C # CYRILLIC CAPITAL LETTER KJE
0xBD = 0x00A4 # CURRENCY SIGN
0xBE = 0x040E # CYRILLIC CAPITAL LETTER SHORT U
0xBF = 0x040F # CYRILLIC CAPITAL LETTER DZHE
0xFF = 0x042A # CYRILLIC CAPITAL LETTER HARD SIGN
END_MAP

View File

@ -1,4 +1,4 @@
# $NetBSD: KOI8-R%UCS.src,v 1.2 2003/07/12 16:11:12 tshiozak Exp $ # $NetBSD: KOI8-R%UCS.src,v 1.1 2006/04/08 14:15:48 tnozaki Exp $
TYPE ROWCOL TYPE ROWCOL
NAME "KOI8-R/UCS" NAME "KOI8-R/UCS"
@ -57,7 +57,7 @@ BEGIN_MAP
# Please note that <errata@unicode.org> is an archival address; # Please note that <errata@unicode.org> is an archival address;
# notices will be checked, but do not expect an immediate response. # notices will be checked, but do not expect an immediate response.
# #
0x00-0x7F = 0x00- 0x00 - 0x7F = 0x0000 -
0x80 = 0x2500 0x80 = 0x2500
0x81 = 0x2502 0x81 = 0x2502
0x82 = 0x250C 0x82 = 0x250C
@ -122,68 +122,5 @@ BEGIN_MAP
0xBD = 0x256B 0xBD = 0x256B
0xBE = 0x256C 0xBE = 0x256C
0xBF = 0x00A9 0xBF = 0x00A9
0xC0 = 0x044E
0xC1 = 0x0430
0xC2 = 0x0431
0xC3 = 0x0446
0xC4 = 0x0434
0xC5 = 0x0435
0xC6 = 0x0444
0xC7 = 0x0433
0xC8 = 0x0445
0xC9 = 0x0438
0xCA = 0x0439
0xCB = 0x043A
0xCC = 0x043B
0xCD = 0x043C
0xCE = 0x043D
0xCF = 0x043E
0xD0 = 0x043F
0xD1 = 0x044F
0xD2 = 0x0440
0xD3 = 0x0441
0xD4 = 0x0442
0xD5 = 0x0443
0xD6 = 0x0436
0xD7 = 0x0432
0xD8 = 0x044C
0xD9 = 0x044B
0xDA = 0x0437
0xDB = 0x0448
0xDC = 0x044D
0xDD = 0x0449
0xDE = 0x0447
0xDF = 0x044A
0xE0 = 0x042E
0xE1 = 0x0410
0xE2 = 0x0411
0xE3 = 0x0426
0xE4 = 0x0414
0xE5 = 0x0415
0xE6 = 0x0424
0xE7 = 0x0413
0xE8 = 0x0425
0xE9 = 0x0418
0xEA = 0x0419
0xEB = 0x041A
0xEC = 0x041B
0xED = 0x041C
0xEE = 0x041D
0xEF = 0x041E
0xF0 = 0x041F
0xF1 = 0x042F
0xF2 = 0x0420
0xF3 = 0x0421
0xF4 = 0x0422
0xF5 = 0x0423
0xF6 = 0x0416
0xF7 = 0x0412
0xF8 = 0x042C
0xF9 = 0x042B
0xFA = 0x0417
0xFB = 0x0428
0xFC = 0x042D
0xFD = 0x0429
0xFE = 0x0427
0xFF = 0x042A 0xFF = 0x042A
END_MAP END_MAP

View File

@ -0,0 +1,84 @@
# $NetBSD: KOI8-RU%UCS.src,v 1.1 2006/04/08 14:15:48 tnozaki Exp $
TYPE ROWCOL
NAME "KOI8-RU/UCS"
SRC_ZONE 0x00-0xFF
OOB_MODE ILSEQ
DST_ILSEQ 0xFFFE
DST_UNIT_BITS 16
BEGIN_MAP
#
# this table is generated from:
#
# Registration of a Ukrainian Cyrillic Character Set KOI8-RU
# (as extension to Russian KOI8-R and ISO-IR-111)
# http://cad.ntu-kpi.kiev.ua/multiling/koi8-ru/rfc-draft-koi8-ru.txt
#
0x00 - 0x7F = 0x0000 -
0x80 = 0x2500
0x81 = 0x2502
0x82 = 0x250C
0x83 = 0x2510
0x84 = 0x2514
0x85 = 0x2518
0x86 = 0x251C
0x87 = 0x2524
0x88 = 0x252C
0x89 = 0x2534
0x8A = 0x253C
0x8B = 0x2580
0x8C = 0x2584
0x8D = 0x2588
0x8E = 0x258C
0x8F = 0x2590
0x90 = 0x2591
0x91 = 0x2592
0x92 = 0x2593
0x93 = 0x201C
0x94 = 0x25A0
0x95 = 0x2219
0x96 = 0x201D
0x97 = 0x2014
0x98 = 0x2116
0x99 = 0x2122
0x9A = 0x00A0
0x9B = 0x00BB
0x9C = 0x00AE
0x9D = 0x00AB
0x9E = 0x00B7
0x9F = 0x00A4
0xA0 = 0x2550
0xA1 = 0x2551
0xA2 = 0x2552
0xA3 = 0x0451
0xA4 = 0x0454
0xA5 = 0x2554
0xA6 = 0x0456
0xA7 = 0x0457
0xA8 = 0x2557
0xA9 = 0x2558
0xAA = 0x2559
0xAB = 0x255A
0xAC = 0x255B
0xAD = 0x0491
0xAE = 0x045E
0xAF = 0x255E
0xB0 = 0x255F
0xB1 = 0x2560
0xB2 = 0x2561
0xB3 = 0x0401
0xB4 = 0x0403
0xB5 = 0x2563
0xB6 = 0x0406
0xB7 = 0x0407
0xB8 = 0x2566
0xB9 = 0x2567
0xBA = 0x2568
0xBB = 0x2569
0xBC = 0x256A
0xBD = 0x0490
0xBE = 0x040E
0xBF = 0x00A9
0xFF = 0x042A
END_MAP

View File

@ -0,0 +1,70 @@
# $NetBSD: KOI8-T%UCS.src,v 1.1 2006/04/08 14:15:48 tnozaki Exp $
TYPE ROWCOL
NAME "KOI8-T/UCS"
SRC_ZONE 0x00-0xFF
OOB_MODE ILSEQ
DST_ILSEQ 0xFFFE
DST_UNIT_BITS 16
BEGIN_MAP
#
# this table is generated from:
#
# KOI8-T code page map
#
# Author: Michael Davis <tajik_fonts@iname.com>
# URL: http://www.traveltajikistan.com/fonts
#
# Format: Three tab-separated columns
# Column 1 is the KOI8-T code (in hex as 0xXX)
# Column 2 is the Unicode code (in hex as 0xXXXX)
# Column 3 is the Unicode name (follows a comment sign, '#')
#
# The entries are in KOI8-T order
#
0x00 - 0x7F = 0x0000 -
0x80 = 0x049B
0x81 = 0x0493
0x82 = 0x201A
0x83 = 0x0492
0x84 = 0x201E
0x85 = 0x2026
0x86 = 0x2020
0x87 = 0x2021
0x88 = 0x0088
0x89 = 0x2030
0x8A = 0x04B3
0x8B = 0x2039
0x8C = 0x04B2
0x8D = 0x04B7
0x8E = 0x04B6
0x8F = 0x008F
0x90 = 0x049A
0x91 = 0x2018
0x92 = 0x2019
0x93 = 0x201C
0x94 = 0x201D
0x95 = 0x2022
0x96 = 0x2013
0x97 = 0x2014
0x98 = 0x0098
0x99 = 0x2122
0x9A = 0x009A
0x9B = 0x203A
0x9C - 0xA0 = 0x009C -
0xA1 = 0x04EF
0xA2 = 0x04EE
0xA3 = 0x0451
0xA4 = 0x00A4
0xA5 = 0x04E3
0xA6 - 0xB2 = 0x00A6 -
0xB3 = 0x0401
0xB4 = 0x00B4
0xB5 = 0x04E2
0xB6 - 0xB8 = 0x00B6 -
0xB9 = 0x2116
0xBA - 0xBE = 0x00BA -
0xBF = 0x00A9
0xFF = 0x042A
END_MAP

View File

@ -1,4 +1,4 @@
# $NetBSD: KOI8-U%UCS.src,v 1.1 2003/07/20 19:26:56 tshiozak Exp $ # $NetBSD: KOI8-U%UCS.src,v 1.1 2006/04/08 14:15:48 tnozaki Exp $
TYPE ROWCOL TYPE ROWCOL
NAME "KOI8-U/UCS" NAME "KOI8-U/UCS"
@ -9,9 +9,9 @@ DST_UNIT_BITS 16
BEGIN_MAP BEGIN_MAP
# #
# This data is derived from RFC2319. # This table is generated from RFC2319.
# #
0x00-0x7F = 0x00- 0x00 - 0x7F = 0x0000 -
0x80 = 0x2500 0x80 = 0x2500
0x81 = 0x2502 0x81 = 0x2502
0x82 = 0x250C 0x82 = 0x250C
@ -76,68 +76,5 @@ BEGIN_MAP
0xBD = 0x0490 0xBD = 0x0490
0xBE = 0x256C 0xBE = 0x256C
0xBF = 0x00A9 0xBF = 0x00A9
0xC0 = 0x044E
0xC1 = 0x0430
0xC2 = 0x0431
0xC3 = 0x0446
0xC4 = 0x0434
0xC5 = 0x0435
0xC6 = 0x0444
0xC7 = 0x0433
0xC8 = 0x0445
0xC9 = 0x0438
0xCA = 0x0439
0xCB = 0x043A
0xCC = 0x043B
0xCD = 0x043C
0xCE = 0x043D
0xCF = 0x043E
0xD0 = 0x043F
0xD1 = 0x044F
0xD2 = 0x0440
0xD3 = 0x0441
0xD4 = 0x0442
0xD5 = 0x0443
0xD6 = 0x0436
0xD7 = 0x0432
0xD8 = 0x044C
0xD9 = 0x044B
0xDA = 0x0437
0xDB = 0x0448
0xDC = 0x044D
0xDD = 0x0449
0xDE = 0x0447
0xDF = 0x044A
0xE0 = 0x042E
0xE1 = 0x0410
0xE2 = 0x0411
0xE3 = 0x0426
0xE4 = 0x0414
0xE5 = 0x0415
0xE6 = 0x0424
0xE7 = 0x0413
0xE8 = 0x0425
0xE9 = 0x0418
0xEA = 0x0419
0xEB = 0x041A
0xEC = 0x041B
0xED = 0x041C
0xEE = 0x041D
0xEF = 0x041E
0xF0 = 0x041F
0xF1 = 0x042F
0xF2 = 0x0420
0xF3 = 0x0421
0xF4 = 0x0422
0xF5 = 0x0423
0xF6 = 0x0416
0xF7 = 0x0412
0xF8 = 0x042C
0xF9 = 0x042B
0xFA = 0x0417
0xFB = 0x0428
0xFC = 0x042D
0xFD = 0x0429
0xFE = 0x0427
0xFF = 0x042A 0xFF = 0x042A
END_MAP END_MAP

View File

@ -0,0 +1,9 @@
# $NetBSD: KOI8.part,v 1.1 2006/04/08 14:15:48 tnozaki Exp $
8
8-C
8-E
8-R
8-RU
8-T
8-U

View File

@ -0,0 +1,49 @@
# $NetBSD: Makefile.inc,v 1.1 2006/04/08 14:15:48 tnozaki Exp $
.PATH: ${.CURDIR}/KOI
SRCS_mapper.dir+= mapper.dir.KOI
SRCS_charset.pivot+= charset.pivot.KOI
CLEANFILES+= mapper.dir.KOI charset.pivot.KOI
PART_KOI8!= sed '/^\#/d;/^$$/d;' ${.CURDIR}/KOI/KOI8.part
mapper.dir.KOI: ${.CURDIR}/KOI/KOI8.part
${_MKTARGET_CREATE}
( \
echo "# KOI"; \
for i in 7 8-BASE ${PART_KOI8}; do \
printf "%-31s %-31s %s\n" KOI$$i"/UCS" \
mapper_std KOI/KOI$$i"%UCS.mps"; \
printf "%-31s %-31s %s\n" UCS/KOI$$i \
mapper_std KOI/UCS%KOI$$i".mps"; \
done; \
for i in ${PART_KOI8}; do \
printf "%-31s %-31s %s\n" KOI$$i"-PARALLEL/UCS" \
mapper_parallel KOI8-BASE/UCS,KOI$$i"/UCS"; \
printf "%-31s %-31s %s\n" UCS/KOI$$i"-PARALLEL" \
mapper_parallel UCS/KOI$$i",UCS/KOI8-BASE"; \
done; \
echo; \
) > ${.TARGET}
charset.pivot.KOI: ${.CURDIR}/KOI/KOI8.part
${_MKTARGET_CREATE}
( \
echo "# KOI"; \
for i in 7 8-BASE ${PART_KOI8}; do \
printf "%-31s %-31s%d\n" KOI$$i UCS 1; \
printf "%-31s %-31s%d\n" UCS KOI$$i 1; \
done; \
for i in ${PART_KOI8}; do \
printf "%-31s %-31s%d\n" KOI$$i"-PARALLEL" UCS 1; \
printf "%-31s %-31s%d\n" UCS KOI$$i"-PARALLEL" 1; \
done; \
echo; \
) > ${.TARGET}
.for i in 7 8-BASE ${PART_KOI8}
FILES+= KOI${i:S/:/@/}%UCS.mps UCS%KOI${i:S/:/@/}.mps
CLEANFILES+= KOI${i:S/:/@/}%UCS.mps UCS%KOI${i:S/:/@/}.mps
FILESDIR_KOI${i:S/:/@/}%UCS.mps= ${BINDIR}/KOI
FILESDIR_UCS%KOI${i:S/:/@/}.mps= ${BINDIR}/KOI
.endfor

View File

@ -0,0 +1,81 @@
# $NetBSD: UCS%KOI7.src,v 1.1 2006/04/08 14:15:48 tnozaki Exp $
TYPE ROWCOL
NAME "UCS/KOI7"
SRC_ZONE 0x0000-0x044F
OOB_MODE INVALID
DST_INVALID 0xFE
DST_UNIT_BITS 8
BEGIN_MAP
#
# This table is generated from RFC1345.
#
0x0000 - 0x0023 = 0x00 -
0x0025 - 0x003F = 0x25 -
0x007F = 0x7F
0x00A4 = 0x24
0x0410 = 0x61
0x0411 = 0x62
0x0412 = 0x77
0x0413 = 0x67
0x0414 = 0x64
0x0415 = 0x65
0x0416 = 0x76
0x0417 = 0x7A
0x0418 = 0x69
0x0419 = 0x6A
0x041A = 0x6B
0x041B = 0x6C
0x041C = 0x6D
0x041D = 0x6E
0x041E = 0x6F
0x041F = 0x70
0x0420 = 0x72
0x0421 = 0x73
0x0422 = 0x74
0x0423 = 0x75
0x0424 = 0x66
0x0425 = 0x68
0x0426 = 0x63
0x0427 = 0x7E
0x0428 = 0x7B
0x0429 = 0x7D
0x042B = 0x79
0x042C = 0x78
0x042D = 0x7C
0x042E = 0x60
0x042F = 0x71
0x0430 = 0x41
0x0431 = 0x42
0x0432 = 0x57
0x0433 = 0x47
0x0434 = 0x44
0x0435 = 0x45
0x0436 = 0x56
0x0437 = 0x5A
0x0438 = 0x49
0x0439 = 0x4A
0x043A = 0x4B
0x043B = 0x4C
0x043C = 0x4D
0x043D = 0x4E
0x043E = 0x4F
0x043F = 0x50
0x0440 = 0x52
0x0441 = 0x53
0x0442 = 0x54
0x0443 = 0x55
0x0444 = 0x46
0x0445 = 0x48
0x0446 = 0x43
0x0447 = 0x5E
0x0448 = 0x5B
0x0449 = 0x5D
0x044A = 0x5F
0x044B = 0x59
0x044C = 0x58
0x044D = 0x5C
0x044E = 0x40
0x044F = 0x51
END_MAP

View File

@ -0,0 +1,123 @@
# $NetBSD: UCS%KOI8-BASE.src,v 1.1 2006/04/08 14:15:48 tnozaki Exp $
TYPE ROWCOL
NAME "UCS/KOI8-BASE"
SRC_ZONE 0x0410-0x044F
OOB_MODE INVALID
DST_INVALID 0x100
DST_UNIT_BITS 16
BEGIN_MAP
#
# This mapping data is made from the mapping data provided by Unicode, Inc.
# Original notice:
#
# Name: KOI8-R (RFC1489) to Unicode
# Unicode version: 3.0
# Table version: 1.0
# Table format: Format A
# Date: 18 August 1999
# Authors: Helmut Richter <richter@lrz.de>
#
# Copyright (c) 1991-1999 Unicode, Inc. All Rights reserved.
#
# This file is provided as-is by Unicode, Inc. (The Unicode Consortium).
# No claims are made as to fitness for any particular purpose. No
# warranties of any kind are expressed or implied. The recipient
# agrees to determine applicability of information provided. If this
# file has been provided on optical media by Unicode, Inc., the sole
# remedy for any claim will be exchange of defective media within 90
# days of receipt.
#
# Unicode, Inc. hereby grants the right to freely use the information
# supplied in this file in the creation of products supporting the
# Unicode Standard, and to make copies of this file in any form for
# internal or external distribution as long as this notice remains
# attached.
#
# General notes:
#
# This table contains the data the Unicode Consortium has on how
# KOI8-R characters map into Unicode. The underlying document is the
# mapping described in RFC 1489. No statements are made as to whether
# this mapping is the same as the mapping defined as "Code Page 878"
# with some vendors.
#
# Format: Three tab-separated columns
# Column #1 is the KOI8-R code (in hex as 0xXX)
# Column #2 is the Unicode (in hex as 0xXXXX)
# Column #3 the Unicode name (follows a comment sign, '#')
#
# The entries are in KOI8-R order.
#
# Version history
# 1.0 version: created.
#
# Any comments or problems, contact <errata@unicode.org>
# Please note that <errata@unicode.org> is an archival address;
# notices will be checked, but do not expect an immediate response.
#
0x0410 = 0xE1
0x0411 = 0xE2
0x0412 = 0xF7
0x0413 = 0xE7
0x0414 = 0xE4
0x0415 = 0xE5
0x0416 = 0xF6
0x0417 = 0xFA
0x0418 = 0xE9
0x0419 = 0xEA
0x041A = 0xEB
0x041B = 0xEC
0x041C = 0xED
0x041D = 0xEE
0x041E = 0xEF
0x041F = 0xF0
0x0420 = 0xF2
0x0421 = 0xF3
0x0422 = 0xF4
0x0423 = 0xF5
0x0424 = 0xE6
0x0425 = 0xE8
0x0426 = 0xE3
0x0427 = 0xFE
0x0428 = 0xFB
0x0429 = 0xFD
0x042B = 0xF9
0x042C = 0xF8
0x042D = 0xFC
0x042E = 0xE0
0x042F = 0xF1
0x0430 = 0xC1
0x0431 = 0xC2
0x0432 = 0xD7
0x0433 = 0xC7
0x0434 = 0xC4
0x0435 = 0xC5
0x0436 = 0xD6
0x0437 = 0xDA
0x0438 = 0xC9
0x0439 = 0xCA
0x043A = 0xCB
0x043B = 0xCC
0x043C = 0xCD
0x043D = 0xCE
0x043E = 0xCF
0x043F = 0xD0
0x0440 = 0xD2
0x0441 = 0xD3
0x0442 = 0xD4
0x0443 = 0xD5
0x0444 = 0xC6
0x0445 = 0xC8
0x0446 = 0xC3
0x0447 = 0xDE
0x0448 = 0xDB
0x0449 = 0xDD
0x044A = 0xDF
0x044B = 0xD9
0x044C = 0xD8
0x044D = 0xDC
0x044E = 0xC0
0x044F = 0xD1
END_MAP

View File

@ -0,0 +1,88 @@
# $NetBSD: UCS%KOI8-C.src,v 1.1 2006/04/08 14:15:48 tnozaki Exp $
TYPE ROWCOL
NAME "UCS/KOI8-C"
SRC_ZONE 0x0000-0x2116
OOB_MODE INVALID
DST_INVALID 0x100
DST_UNIT_BITS 16
BEGIN_MAP
#
# Pablo Saratxaga's X_LOCALE KOI8-C(Caucasus)
#
# this table is generated from:
#
# KOI8-C GIF Image
# http://sensi.org/locale/msg00521.html
# http://sensi.org/locale/bin00007.bin
# Unicode 4.1
# http://www.unicode.org/charts/PDF/U0400.pdf
#
0x0000 - 0x007F = 0x00 -
0x008B = 0x8B # <CONTROL>
0x008D = 0x8D # <CONTROL>
0x008F = 0x8F # <CONTROL>
0x009B = 0x9B # <CONTROL>
0x009D = 0x9D # <CONTROL>
0x009F = 0x9F # <CONTROL>
0x00A0 = 0xA0 # NO-BREAK SPACE
0x0401 = 0xB3 # CYRILLIC CAPITAL LETTER IO
0x0402 = 0xB1 # CYRILLIC CAPITAL LETTER DJE
0x0403 = 0xB2 # CYRILLIC CAPITAL LETTER GJE
0x0404 = 0xB4 # CYRILLIC CAPITAL LETTER UKRAINIAN IE
0x0405 = 0xB5 # CYRILLIC CAPITAL LETTER DZE
0x0406 = 0xB6 # CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I
0x0407 = 0xB7 # CYRILLIC CAPITAL LETTER YI
0x0408 = 0xB8 # CYRILLIC CAPITAL LETTER JE
0x0409 = 0xB9 # CYRILLIC CAPITAL LETTER LJE
0x040A = 0xBA # CYRILLIC CAPITAL LETTER NJE
0x040B = 0xBB # CYRILLIC CAPITAL LETTER TSHE
0x040C = 0xBC # CYRILLIC CAPITAL LETTER KJE
0x040E = 0xBE # CYRILLIC CAPITAL LETTER SHORT U
0x040F = 0xBF # CYRILLIC CAPITAL LETTER DZHE
0x042A = 0xFF # CYRILLIC CAPITAL LETTER HARD SIGN
0x0451 = 0xA3 # CYRILLIC SMALL LETTER IO
0x0452 = 0xA1 # CYRILLIC SMALL LETTER DJE
0x0453 = 0xA2 # CYRILLIC SMALL LETTER GJE
0x0454 = 0xA4 # CYRILLIC SMALL LETTER UKRAINIAN IE
0x0455 = 0xA5 # CYRILLIC SMALL LETTER DZE
0x0456 = 0xA6 # CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I
0x0457 = 0xA7 # CYRILLIC SMALL LETTER YI
0x0458 = 0xA8 # CYRILLIC SMALL LETTER JE
0x0459 = 0xA9 # CYRILLIC SMALL LETTER LJE
0x045A = 0xAA # CYRILLIC SMALL LETTER NJE
0x045B = 0xAB # CYRILLIC SMALL LETTER TSHE
0x045C = 0xAC # CYRILLIC SMALL LETTER KJE
0x045E = 0xAE # CYRILLIC SMALL LETTER SHORT U
0x045F = 0xAF # CYRILLIC SMALL LETTER DZHE
0x0490 = 0xBD # CYRILLIC CAPITAL LETTER GHE WITH UPTURN
0x0491 = 0xAD # CYRILLIC SMALL LETTER GHE WITH UPTURN
0x0492 = 0x90 # CYRILLIC CAPITAL LETTER GHE WITH STROKE
0x0493 = 0x80 # CYRILLIC SMALL LETTER GHE WITH STROKE
0x0496 = 0x91 # CYRILLIC CAPITAL LETTER ZHE WITH DESCENDER
0x0497 = 0x81 # CYRILLIC SMALL LETTER ZHE WITH DESCENDER
0x049A = 0x92 # CYRILLIC CAPITAL LETTER KA WITH DESCENER
0x049B = 0x82 # CYRILLIC SMALL LETTER KA WITH DESCENDER
0x049C = 0x93 # CYRILLIC CAPITAL LETTER KA WITH VERTICAL STROKE
0x049D = 0x83 # CYRILLIC SMALL LETTER KA WITH VERTICAL STROKE
0x04AE = 0x95 # CYRILLIC CAPITAL LETTER STRAIGHT U
0x04AF = 0x85 # CYRILLIC SMALL LETTER STRAIGHT U
0x04B0 = 0x96 # CYRILLIC CAPITAL LETTER STRAIGHT U WITH STROKE
0x04B1 = 0x86 # CYRILLIC SMALL LETTER STRAIGHT U WITH STROKE
0x04B2 = 0x97 # CYRILLIC CAPITAL LETTER HA WITH DESCENDER
0x04B3 = 0x87 # CYRILLIC SMALL LETTER HA WITH DESCENDER
0x04B6 = 0x98 # CYRILLIC CAPITAL LETTER CHE WITH DESCENDER
0x04B7 = 0x88 # CYRILLIC SMALL LETTER CHE WITH DESCENDER
0x04B8 = 0x99 # CYRILLIC CAPITAL LETTER CHE WITH VERTICAL STROKE
0x04B9 = 0x89 # CYRILLIC SMALL LETTER CHE WITH VERTICAL STROKE
0x04BA = 0x9A # CYRILLIC CAPITAL LETTER SHHA
0x04BB = 0x8A # CYRILLIC SMALL LETTER SHHA
0x04C9 = 0x94 # CYRILLIC CAPITAL LETTER EN WITH TAIL
0x04CA = 0x84 # CYRILLIC SMALL LETTER EN WITH TAIL
0x04D8 = 0x9C # CYRILLIC CAPITAL LETTER SCHWA
0x04D9 = 0x8C # CYRILLIC SMALL LETTER SCHWA
0x04E8 = 0x9E # CYRILLIC CAPITAL LETTER BARRED O
0x04E9 = 0x8E # CYRILLIC SMALL LETTER BARRED O
0x2116 = 0xB0 # NUMERO SIGN
END_MAP

View File

@ -0,0 +1,119 @@
# $NetBSD: UCS%KOI8-CyrillicOld.src,v 1.1 2006/04/08 14:15:48 tnozaki Exp $
TYPE ROWCOL
NAME "UCS/KOI8-CyrillicOld"
SRC_ZONE 0x0000-0x25C6
OOB_MODE INVALID
DST_INVALID 0x100
DST_UNIT_BITS 16
BEGIN_MAP
#
# this table is generated from:
#
# Internet Draft Serge Winitzki
# draft-winitzki-koi8c-encoding-00.txt
# Expires: April 2002
#
# Extended Cyrillic Character Set
# KOI8-C
0x0000 = 0x00
0x0010 = 0x10
0x0011 = 0x11
0x0013 = 0x13
0x0014 = 0x14
0x0020 - 0x007E = 0x20 -
0x00A0 = 0xA0
0x00A2 = 0xBA
0x00A3 = 0x98
0x00A4 = 0x1E
0x00A7 = 0x87
0x00A8 = 0x89
0x00A9 = 0xBF
0x00AB = 0xAB
0x00AC = 0x7F
0x00AE = 0xA9
0x00B0 = 0xB0
0x00B1 = 0x08
0x00B2 = 0x1F
0x00B4 = 0xAF
0x00B5 = 0x07
0x00B6 = 0x09
0x00B7 = 0x99
0x00B8 = 0x82
0x00BB = 0xBB
0x00D7 = 0x03
0x00F7 = 0x04
0x03C0 = 0x1C
0x0401 = 0xB3
0x0402 = 0x80
0x0403 = 0x81
0x0404 = 0xB4
0x0405 = 0xB5
0x0406 = 0xB6
0x0407 = 0xB7
0x0408 = 0xB8
0x0409 = 0x8A
0x040A = 0x8C
0x040B = 0x8E
0x040C = 0x8D
0x040E = 0xBE
0x040F = 0x8F
0x042A = 0xFF
0x0451 = 0xA3
0x0452 = 0x90
0x0453 = 0x83
0x0454 = 0xA4
0x0455 = 0xA5
0x0456 = 0xA6
0x0457 = 0xA7
0x0458 = 0xA8
0x0459 = 0x9A
0x045A = 0x9C
0x045B = 0x9E
0x045C = 0x9D
0x045E = 0xAE
0x045F = 0x9F
0x0462 = 0xB2
0x0463 = 0xA2
0x0472 = 0xBC
0x0473 = 0xAC
0x0474 = 0xB1
0x0475 = 0xA1
0x0490 = 0xBD
0x0491 = 0xAD
0x2013 = 0x96
0x2014 = 0x97
0x2018 = 0x91
0x2019 = 0x92
0x201C = 0x93
0x201D = 0x94
0x201E = 0x84
0x2020 = 0x86
0x2021 = 0x0A
0x2022 = 0x95
0x2026 = 0x85
0x2030 = 0x05
0x2039 = 0x8B
0x203A = 0x9B
0x20AC = 0x88
0x2116 = 0xB9
0x2122 = 0xAA
0x2248 = 0x06
0x2260 = 0x1D
0x2264 = 0x1A
0x2265 = 0x1B
0x2500 = 0x12
0x2502 = 0x19
0x250C = 0x0D
0x2510 = 0x0C
0x2514 = 0x0E
0x2518 = 0x0B
0x251C = 0x15
0x2524 = 0x16
0x252C = 0x18
0x2534 = 0x17
0x253C = 0x0F
0x2592 = 0x02
0x25C6 = 0x01
END_MAP

View File

@ -0,0 +1,54 @@
# $NetBSD: UCS%KOI8-E.src,v 1.1 2006/04/08 14:15:48 tnozaki Exp $
TYPE ROWCOL
NAME "UCS/KOI8-E"
SRC_ZONE 0x0000-0x2116
OOB_MODE INVALID
DST_INVALID 0x100
DST_UNIT_BITS 16
BEGIN_MAP
#
# this table is generated from:
#
# ISO-IR-111
# http://www.itscj.ipsj.or.jp/ISO-IR/111.pdf
# Unicode 4.1
# http://www.unicode.org/charts/PDF/U0080.pdf
# http://www.unicode.org/charts/PDF/U0400.pdf
# http://www.unicode.org/charts/PDF/U2100.pdf
#
0x0000 - 0x00A0 = 0x00 -
0x00A4 = 0xBD # CURRENCY SIGN
0x00AD = 0xAD # SOFT HYPHEN
0x0401 = 0xB3 # CYRILLIC CAPITAL LETTER IO
0x0402 = 0xB1 # CYRILLIC CAPITAL LETTER DJE
0x0403 = 0xB2 # CYRILLIC CAPITAL LETTER GJE
0x0405 = 0xB5 # CYRILLIC CAPITAL LETTER DZE
0x0406 = 0xB6 # CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I
0x0407 = 0xB7 # CYRILLIC CAPITAL LETTER YI
0x0408 = 0xB4 # CYRILLIC CAPITAL LETTER IE
0x0408 = 0xB8 # CYRILLIC CAPITAL LETTER JE
0x0409 = 0xB9 # CYRILLIC CAPITAL LETTER LJE
0x040A = 0xBA # CYRILLIC CAPITAL LETTER NJE
0x040B = 0xBB # CYRILLIC CAPITAL LETTER TSHE
0x040C = 0xBC # CYRILLIC CAPITAL LETTER KJE
0x040E = 0xBE # CYRILLIC CAPITAL LETTER SHORT U
0x040F = 0xBF # CYRILLIC SMALL LETTER DZHE
0x042A = 0xFF # CYRILLIC CAPITAL LETTER HARD SIGN
0x0451 = 0xA3 # CYRILLIC SMALL LETTER IO
0x0452 = 0xA1 # CYRILLIC SMALL LETTER DJE
0x0453 = 0xA2 # CYRILLIC SMALL LETTER GJE
0x0454 = 0xA4 # CYRILLIC SMALL LETTER UKRAINIAN IE
0x0455 = 0xA5 # CYRILLIC SMALL LETTER DZE
0x0456 = 0xA6 # CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I
0x0457 = 0xA7 # CYRILLIC SMALL LETTER YI
0x0458 = 0xA8 # CYRILLIC SMALL LETTER JE
0x0459 = 0xA9 # CYRILLIC SMALL LETTER LJE
0x045A = 0xAA # CYRILLIC SMALL LETTER NJE
0x045B = 0xAB # CYRILLIC SMALL LETTER TSHE
0x045C = 0xAC # CYRILLIC SMALL LETTER KJE
0x045E = 0xAE # CYRILLIC SMALL LETTER SHORT U
0x045F = 0xAF # CYRILLIC SMALL LETTER DZHE
0x2116 = 0xB0 # NUMERO SIGN
END_MAP

View File

@ -1,8 +1,8 @@
# $NetBSD: UCS%KOI8-R.src,v 1.3 2003/07/14 06:03:45 tshiozak Exp $ # $NetBSD: UCS%KOI8-R.src,v 1.1 2006/04/08 14:15:48 tnozaki Exp $
TYPE ROWCOL TYPE ROWCOL
NAME "UCS/KOI8-R" NAME "UCS/KOI8-R"
SRC_ZONE 0x0000-0x25a0 SRC_ZONE 0x0000-0x25A0
OOB_MODE INVALID OOB_MODE INVALID
DST_INVALID 0x100 DST_INVALID 0x100
DST_UNIT_BITS 16 DST_UNIT_BITS 16
@ -58,7 +58,23 @@ BEGIN_MAP
# Please note that <errata@unicode.org> is an archival address; # Please note that <errata@unicode.org> is an archival address;
# notices will be checked, but do not expect an immediate response. # notices will be checked, but do not expect an immediate response.
# #
0x00-0x7F = 0x00- 0x0000 - 0x007F = 0x0000 -
0x00A0 = 0x9A
0x00A9 = 0xBF
0x00B0 = 0x9C
0x00B2 = 0x9D
0x00B7 = 0x9E
0x00F7 = 0x9F
0x0401 = 0xB3
0x042A = 0xFF
0x0451 = 0xA3
0x2219 = 0x95
0x221A = 0x96
0x2248 = 0x97
0x2264 = 0x98
0x2265 = 0x99
0x2320 = 0x93
0x2321 = 0x9B
0x2500 = 0x80 0x2500 = 0x80
0x2502 = 0x81 0x2502 = 0x81
0x250C = 0x82 0x250C = 0x82
@ -70,31 +86,9 @@ BEGIN_MAP
0x252C = 0x88 0x252C = 0x88
0x2534 = 0x89 0x2534 = 0x89
0x253C = 0x8A 0x253C = 0x8A
0x2580 = 0x8B
0x2584 = 0x8C
0x2588 = 0x8D
0x258C = 0x8E
0x2590 = 0x8F
0x2591 = 0x90
0x2592 = 0x91
0x2593 = 0x92
0x2320 = 0x93
0x25A0 = 0x94
0x2219 = 0x95
0x221A = 0x96
0x2248 = 0x97
0x2264 = 0x98
0x2265 = 0x99
0x00A0 = 0x9A
0x2321 = 0x9B
0x00B0 = 0x9C
0x00B2 = 0x9D
0x00B7 = 0x9E
0x00F7 = 0x9F
0x2550 = 0xA0 0x2550 = 0xA0
0x2551 = 0xA1 0x2551 = 0xA1
0x2552 = 0xA2 0x2552 = 0xA2
0x0451 = 0xA3
0x2553 = 0xA4 0x2553 = 0xA4
0x2554 = 0xA5 0x2554 = 0xA5
0x2555 = 0xA6 0x2555 = 0xA6
@ -110,7 +104,6 @@ BEGIN_MAP
0x255F = 0xB0 0x255F = 0xB0
0x2560 = 0xB1 0x2560 = 0xB1
0x2561 = 0xB2 0x2561 = 0xB2
0x0401 = 0xB3
0x2562 = 0xB4 0x2562 = 0xB4
0x2563 = 0xB5 0x2563 = 0xB5
0x2564 = 0xB6 0x2564 = 0xB6
@ -122,69 +115,13 @@ BEGIN_MAP
0x256A = 0xBC 0x256A = 0xBC
0x256B = 0xBD 0x256B = 0xBD
0x256C = 0xBE 0x256C = 0xBE
0x00A9 = 0xBF 0x2580 = 0x8B
0x044E = 0xC0 0x2584 = 0x8C
0x0430 = 0xC1 0x2588 = 0x8D
0x0431 = 0xC2 0x258C = 0x8E
0x0446 = 0xC3 0x2590 = 0x8F
0x0434 = 0xC4 0x2591 = 0x90
0x0435 = 0xC5 0x2592 = 0x91
0x0444 = 0xC6 0x2593 = 0x92
0x0433 = 0xC7 0x25A0 = 0x94
0x0445 = 0xC8
0x0438 = 0xC9
0x0439 = 0xCA
0x043A = 0xCB
0x043B = 0xCC
0x043C = 0xCD
0x043D = 0xCE
0x043E = 0xCF
0x043F = 0xD0
0x044F = 0xD1
0x0440 = 0xD2
0x0441 = 0xD3
0x0442 = 0xD4
0x0443 = 0xD5
0x0436 = 0xD6
0x0432 = 0xD7
0x044C = 0xD8
0x044B = 0xD9
0x0437 = 0xDA
0x0448 = 0xDB
0x044D = 0xDC
0x0449 = 0xDD
0x0447 = 0xDE
0x044A = 0xDF
0x042E = 0xE0
0x0410 = 0xE1
0x0411 = 0xE2
0x0426 = 0xE3
0x0414 = 0xE4
0x0415 = 0xE5
0x0424 = 0xE6
0x0413 = 0xE7
0x0425 = 0xE8
0x0418 = 0xE9
0x0419 = 0xEA
0x041A = 0xEB
0x041B = 0xEC
0x041C = 0xED
0x041D = 0xEE
0x041E = 0xEF
0x041F = 0xF0
0x042F = 0xF1
0x0420 = 0xF2
0x0421 = 0xF3
0x0422 = 0xF4
0x0423 = 0xF5
0x0416 = 0xF6
0x0412 = 0xF7
0x042C = 0xF8
0x042B = 0xF9
0x0417 = 0xFA
0x0428 = 0xFB
0x042D = 0xFC
0x0429 = 0xFD
0x0427 = 0xFE
0x042A = 0xFF
END_MAP END_MAP

View File

@ -1,17 +1,110 @@
# $NetBSD: UCS%KOI8-U.src,v 1.1 2003/07/20 19:26:56 tshiozak Exp $ # $NetBSD: UCS%KOI8-RU.src,v 1.1 2006/04/08 14:15:48 tnozaki Exp $
TYPE ROWCOL TYPE ROWCOL
NAME "UCS/KOI8-U" NAME "UCS/KOI8-RU"
SRC_ZONE 0x0000-0x25a0 SRC_ZONE 0x0000 - 0x25A0
OOB_MODE INVALID OOB_MODE INVALID
DST_INVALID 0x100 DST_INVALID 0x100
DST_UNIT_BITS 16 DST_UNIT_BITS 16
BEGIN_MAP BEGIN_MAP
# #
# This data is derived from RFC2319. # this table is generated from:
# #
0x00-0x7F = 0x00- # Registration of a Ukrainian Cyrillic Character Set KOI8-RU
# (as extension to Russian KOI8-R and ISO-IR-111)
# http://cad.ntu-kpi.kiev.ua/multiling/koi8-ru/
#
0x0000 - 0x007F = 0x0000 -
0x00A0 = 0x9A
0x00A4 = 0x9F
0x00A9 = 0xBF
0x00AB = 0x9D
0x00AE = 0x9C
0x00B7 = 0x9E
0x00BB = 0x9B
0x0401 = 0xB3
0x0403 = 0xB4
0x0406 = 0xB6
0x0407 = 0xB7
0x040E = 0xBE
0x0410 = 0xE1
0x0411 = 0xE2
0x0412 = 0xF7
0x0413 = 0xE7
0x0414 = 0xE4
0x0415 = 0xE5
0x0416 = 0xF6
0x0417 = 0xFA
0x0418 = 0xE9
0x0419 = 0xEA
0x041A = 0xEB
0x041B = 0xEC
0x041C = 0xED
0x041D = 0xEE
0x041E = 0xEF
0x041F = 0xF0
0x0420 = 0xF2
0x0421 = 0xF3
0x0422 = 0xF4
0x0423 = 0xF5
0x0424 = 0xE6
0x0425 = 0xE8
0x0426 = 0xE3
0x0427 = 0xFE
0x0428 = 0xFB
0x0429 = 0xFD
0x042A = 0xFF
0x042B = 0xF9
0x042C = 0xF8
0x042D = 0xFC
0x042E = 0xE0
0x042F = 0xF1
0x0430 = 0xC1
0x0431 = 0xC2
0x0432 = 0xD7
0x0433 = 0xC7
0x0434 = 0xC4
0x0435 = 0xC5
0x0436 = 0xD6
0x0437 = 0xDA
0x0438 = 0xC9
0x0439 = 0xCA
0x043A = 0xCB
0x043B = 0xCC
0x043C = 0xCD
0x043D = 0xCE
0x043E = 0xCF
0x043F = 0xD0
0x0440 = 0xD2
0x0441 = 0xD3
0x0442 = 0xD4
0x0443 = 0xD5
0x0444 = 0xC6
0x0445 = 0xC8
0x0446 = 0xC3
0x0447 = 0xDE
0x0448 = 0xDB
0x0449 = 0xDD
0x044A = 0xDF
0x044B = 0xD9
0x044C = 0xD8
0x044D = 0xDC
0x044E = 0xC0
0x044F = 0xD1
0x0451 = 0xA3
0x0454 = 0xA4
0x0456 = 0xA6
0x0457 = 0xA7
0x045E = 0xAE
0x0490 = 0xBD
0x0491 = 0xAD
0x2014 = 0x97
0x201C = 0x93
0x201D = 0x96
0x2116 = 0x98
0x2122 = 0x99
0x2219 = 0x95
0x2500 = 0x80 0x2500 = 0x80
0x2502 = 0x81 0x2502 = 0x81
0x250C = 0x82 0x250C = 0x82
@ -23,6 +116,25 @@ BEGIN_MAP
0x252C = 0x88 0x252C = 0x88
0x2534 = 0x89 0x2534 = 0x89
0x253C = 0x8A 0x253C = 0x8A
0x2550 = 0xA0
0x2551 = 0xA1
0x2552 = 0xA2
0x2554 = 0xA5
0x2557 = 0xA8
0x2558 = 0xA9
0x2559 = 0xAA
0x255A = 0xAB
0x255B = 0xAC
0x255E = 0xAF
0x255F = 0xB0
0x2560 = 0xB1
0x2561 = 0xB2
0x2563 = 0xB5
0x2566 = 0xB8
0x2567 = 0xB9
0x2568 = 0xBA
0x2569 = 0xBB
0x256A = 0xBC
0x2580 = 0x8B 0x2580 = 0x8B
0x2584 = 0x8C 0x2584 = 0x8C
0x2588 = 0x8D 0x2588 = 0x8D
@ -31,113 +143,5 @@ BEGIN_MAP
0x2591 = 0x90 0x2591 = 0x90
0x2592 = 0x91 0x2592 = 0x91
0x2593 = 0x92 0x2593 = 0x92
0x2320 = 0x93
0x25A0 = 0x94 0x25A0 = 0x94
0x2219 = 0x95
0x221A = 0x96
0x2248 = 0x97
0x2264 = 0x98
0x2265 = 0x99
0x00A0 = 0x9A
0x2321 = 0x9B
0x00B0 = 0x9C
0x00B2 = 0x9D
0x00B7 = 0x9E
0x00F7 = 0x9F
0x2550 = 0xA0
0x2551 = 0xA1
0x2552 = 0xA2
0x0451 = 0xA3
0x0454 = 0xA4
0x2554 = 0xA5
0x0456 = 0xA6
0x0457 = 0xA7
0x2557 = 0xA8
0x2558 = 0xA9
0x2559 = 0xAA
0x255A = 0xAB
0x255B = 0xAC
0x0491 = 0xAD
0x255D = 0xAE
0x255E = 0xAF
0x255F = 0xB0
0x2560 = 0xB1
0x2561 = 0xB2
0x0401 = 0xB3
0x0404 = 0xB4
0x2563 = 0xB5
0x0406 = 0xB6
0x0407 = 0xB7
0x2566 = 0xB8
0x2567 = 0xB9
0x2568 = 0xBA
0x2569 = 0xBB
0x256A = 0xBC
0x0490 = 0xBD
0x256C = 0xBE
0x00A9 = 0xBF
0x044E = 0xC0
0x0430 = 0xC1
0x0431 = 0xC2
0x0446 = 0xC3
0x0434 = 0xC4
0x0435 = 0xC5
0x0444 = 0xC6
0x0433 = 0xC7
0x0445 = 0xC8
0x0438 = 0xC9
0x0439 = 0xCA
0x043A = 0xCB
0x043B = 0xCC
0x043C = 0xCD
0x043D = 0xCE
0x043E = 0xCF
0x043F = 0xD0
0x044F = 0xD1
0x0440 = 0xD2
0x0441 = 0xD3
0x0442 = 0xD4
0x0443 = 0xD5
0x0436 = 0xD6
0x0432 = 0xD7
0x044C = 0xD8
0x044B = 0xD9
0x0437 = 0xDA
0x0448 = 0xDB
0x044D = 0xDC
0x0449 = 0xDD
0x0447 = 0xDE
0x044A = 0xDF
0x042E = 0xE0
0x0410 = 0xE1
0x0411 = 0xE2
0x0426 = 0xE3
0x0414 = 0xE4
0x0415 = 0xE5
0x0424 = 0xE6
0x0413 = 0xE7
0x0425 = 0xE8
0x0418 = 0xE9
0x0419 = 0xEA
0x041A = 0xEB
0x041B = 0xEC
0x041C = 0xED
0x041D = 0xEE
0x041E = 0xEF
0x041F = 0xF0
0x042F = 0xF1
0x0420 = 0xF2
0x0421 = 0xF3
0x0422 = 0xF4
0x0423 = 0xF5
0x0416 = 0xF6
0x0412 = 0xF7
0x042C = 0xF8
0x042B = 0xF9
0x0417 = 0xFA
0x0428 = 0xFB
0x042D = 0xFC
0x0429 = 0xFD
0x0427 = 0xFE
0x042A = 0xFF
END_MAP END_MAP

View File

@ -0,0 +1,71 @@
# $NetBSD: UCS%KOI8-T.src,v 1.1 2006/04/08 14:15:48 tnozaki Exp $
TYPE ROWCOL
NAME "UCS/KOI8-T"
SRC_ZONE 0x0000-0x2122
OOB_MODE INVALID
DST_INVALID 0x100
DST_UNIT_BITS 16
BEGIN_MAP
#
# this table is generated from:
#
# KOI8-T code page map
#
# Author: Michael Davis <tajik_fonts@iname.com>
# URL: http://www.traveltajikistan.com/fonts
#
# Format: Three tab-separated columns
# Column 1 is the KOI8-T code (in hex as 0xXX)
# Column 2 is the Unicode code (in hex as 0xXXXX)
# Column 3 is the Unicode name (follows a comment sign, '#')
#
# The entries are in KOI8-T order
#
0x0000 - 0x007F = 0x00 -
0x0088 = 0x88
0x008F = 0x8F
0x0098 = 0x98
0x009A = 0x9A
0x009C - 0x00A0 = 0x9C -
0x00A4 = 0xA4
0x00A6 - 0x00A8 = 0xA6 -
0x00A9 = 0xBF
0x00AA - 0x00B2 = 0xAA -
0x00B4 = 0xB4
0x00B6 - 0x00B8 = 0xB6 -
0x00BA - 0x00BE = 0xBA -
0x0401 = 0xB3
0x042A = 0xFF
0x0451 = 0xA3
0x0492 = 0x83
0x0493 = 0x81
0x049A = 0x90
0x049B = 0x80
0x04B2 = 0x8C
0x04B3 = 0x8A
0x04B6 = 0x8E
0x04B7 = 0x8D
0x04E2 = 0xB5
0x04E3 = 0xA5
0x04EE = 0xA2
0x04EF = 0xA1
0x2013 = 0x96
0x2014 = 0x97
0x2018 = 0x91
0x2019 = 0x92
0x201A = 0x82
0x201C = 0x93
0x201D = 0x94
0x201E = 0x84
0x2020 = 0x86
0x2021 = 0x87
0x2022 = 0x95
0x2026 = 0x85
0x2030 = 0x89
0x2039 = 0x8B
0x203A = 0x9B
0x2116 = 0xB9
0x2122 = 0x99
END_MAP

View File

@ -0,0 +1,80 @@
# $NetBSD: UCS%KOI8-U.src,v 1.1 2006/04/08 14:15:48 tnozaki Exp $
TYPE ROWCOL
NAME "UCS/KOI8-U"
SRC_ZONE 0x0000-0x25A0
OOB_MODE INVALID
DST_INVALID 0x100
DST_UNIT_BITS 16
BEGIN_MAP
#
# This table is generated from RFC2319.
#
0x0000 - 0x007F = 0x00 -
0x00A0 = 0x9A
0x00A9 = 0xBF
0x00B0 = 0x9C
0x00B2 = 0x9D
0x00B7 = 0x9E
0x00F7 = 0x9F
0x0401 = 0xB3
0x0404 = 0xB4
0x0406 = 0xB6
0x0407 = 0xB7
0x042A = 0xFF
0x0451 = 0xA3
0x0454 = 0xA4
0x0456 = 0xA6
0x0457 = 0xA7
0x0490 = 0xBD
0x0491 = 0xAD
0x2219 = 0x95
0x221A = 0x96
0x2248 = 0x97
0x2264 = 0x98
0x2265 = 0x99
0x2320 = 0x93
0x2321 = 0x9B
0x2500 = 0x80
0x2502 = 0x81
0x250C = 0x82
0x2510 = 0x83
0x2514 = 0x84
0x2518 = 0x85
0x251C = 0x86
0x2524 = 0x87
0x252C = 0x88
0x2534 = 0x89
0x253C = 0x8A
0x2550 = 0xA0
0x2551 = 0xA1
0x2552 = 0xA2
0x2554 = 0xA5
0x2557 = 0xA8
0x2558 = 0xA9
0x2559 = 0xAA
0x255A = 0xAB
0x255B = 0xAC
0x255D = 0xAE
0x255E = 0xAF
0x255F = 0xB0
0x2560 = 0xB1
0x2561 = 0xB2
0x2563 = 0xB5
0x2566 = 0xB8
0x2567 = 0xB9
0x2568 = 0xBA
0x2569 = 0xBB
0x256A = 0xBC
0x256C = 0xBE
0x2580 = 0x8B
0x2584 = 0x8C
0x2588 = 0x8D
0x258C = 0x8E
0x2590 = 0x8F
0x2591 = 0x90
0x2592 = 0x91
0x2593 = 0x92
0x25A0 = 0x94
END_MAP

View File

@ -0,0 +1,15 @@
# $NetBSD: UCS%KOI8.src,v 1.1 2006/04/08 14:15:48 tnozaki Exp $
TYPE ROWCOL
NAME "UCS/KOI8"
SRC_ZONE 0x00-0xFF
OOB_MODE INVALID
DST_INVALID 0x100
DST_UNIT_BITS 16
BEGIN_MAP
0x0000 - 0x0023 = 0x00 -
0x0025 - 0x007F = 0x25 -
0x00A4 = 0x24
0x00FF = 0xFF
END_MAP

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile.inc,v 1.6 2006/03/28 14:44:01 tnozaki Exp $ # $NetBSD: Makefile.inc,v 1.7 2006/04/08 14:15:48 tnozaki Exp $
.PATH: ${.CURDIR}/MISC .PATH: ${.CURDIR}/MISC
@ -7,10 +7,6 @@ SRCS_charset.pivot+= charset.pivot.MISC
CLEANFILES+= mapper.dir.MISC charset.pivot.MISC CLEANFILES+= mapper.dir.MISC charset.pivot.MISC
MAPS_MISC= Big5%UCS.mps \ MAPS_MISC= Big5%UCS.mps \
UCS%Big5.mps \ UCS%Big5.mps \
KOI8-R%UCS.mps \
UCS%KOI8-R.mps \
KOI8-U%UCS.mps \
UCS%KOI8-U.mps \
PTCP154%UCS.mps \ PTCP154%UCS.mps \
UCS%PTCP154.mps UCS%PTCP154.mps

View File

@ -1,10 +1,6 @@
# $NetBSD: charset.pivot.MISC.src,v 1.4 2006/03/28 14:44:01 tnozaki Exp $ # $NetBSD: charset.pivot.MISC.src,v 1.5 2006/04/08 14:15:48 tnozaki Exp $
Big5 UCS 1 Big5 UCS 1
UCS Big5 1 UCS Big5 1
KOI8-R UCS 1
UCS KOI8-R 1
KOI8-U UCS 1
UCS KOI8-U 1
PTCP154 UCS 1 PTCP154 UCS 1
UCS PTCP154 1 UCS PTCP154 1

View File

@ -1,10 +1,6 @@
# $NetBSD: mapper.dir.MISC.src,v 1.4 2006/03/28 14:44:01 tnozaki Exp $ # $NetBSD: mapper.dir.MISC.src,v 1.5 2006/04/08 14:15:48 tnozaki Exp $
Big5/UCS mapper_std MISC/Big5%UCS.mps Big5/UCS mapper_std MISC/Big5%UCS.mps
UCS/Big5 mapper_std MISC/UCS%Big5.mps UCS/Big5 mapper_std MISC/UCS%Big5.mps
KOI8-R/UCS mapper_std MISC/KOI8-R%UCS.mps
UCS/KOI8-R mapper_std MISC/UCS%KOI8-R.mps
KOI8-U/UCS mapper_std MISC/KOI8-U%UCS.mps
UCS/KOI8-U mapper_std MISC/UCS%KOI8-U.mps
PTCP154/UCS mapper_std MISC/PTCP154%UCS.mps PTCP154/UCS mapper_std MISC/PTCP154%UCS.mps
UCS/PTCP154 mapper_std MISC/UCS%PTCP154.mps UCS/PTCP154 mapper_std MISC/UCS%PTCP154.mps

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.8 2006/04/01 04:13:21 tnozaki Exp $ # $NetBSD: Makefile,v 1.9 2006/04/08 14:15:48 tnozaki Exp $
NOMAN= NOMAN=
@ -10,7 +10,7 @@ BINDIR?= /usr/share/i18n/csmapper
SRCS_mapper.dir+= mapper.dir.src SRCS_mapper.dir+= mapper.dir.src
SRCS_charset.pivot+= charset.pivot.src SRCS_charset.pivot+= charset.pivot.src
SUBDIR= APPLE AST CNS CP EBCDIC GB ISO646 ISO-8859 JIS KS MISC SUBDIR= APPLE AST CNS CP EBCDIC GB ISO646 ISO-8859 JIS KS KOI MISC
.for i in ${SUBDIR} .for i in ${SUBDIR}
.if exists(${.CURDIR}/$i/Makefile.inc) .if exists(${.CURDIR}/$i/Makefile.inc)
.include "${.CURDIR}/$i/Makefile.inc" .include "${.CURDIR}/$i/Makefile.inc"

View File

@ -0,0 +1,5 @@
# $NetBSD: KOI.alias,v 1.1 2006/04/08 14:15:48 tnozaki Exp $
7 koi-7 iso-ir-37 iso-5427 iso_5427
8 koi-8 cp878
8-E ecma-cyrillic iso-ir-111

View File

@ -0,0 +1,11 @@
# $NetBSD: KOI.part,v 1.1 2006/04/08 14:15:48 tnozaki Exp $
7
7-switched
8
8-C
8-E
8-R
8-RU
8-T
8-U

View File

@ -0,0 +1,6 @@
# $NetBSD: KOI.src,v 1.1 2006/04/08 14:15:48 tnozaki Exp $
NAME "KOIx"
ENCODING "NONE"
DEFCSID "KOIx-PARALLEL" 0
INVALID 0x3F # '?'

View File

@ -0,0 +1,9 @@
# $NetBSD: KOI7-switched.src,v 1.1 2006/04/08 14:15:48 tnozaki Exp $
NAME "KOI7-switched"
ENCODING "ISO2022"
VARIABLE "INIT0=94@ 1=94N SO SI"
DEFCSID "ISO646-US" 0
DEFCSID "ISO646-IRV:1983" 0x40000000
DEFCSID "ISO-5427" 0x4E000000
INVALID 0x3F

View File

@ -0,0 +1,7 @@
# $NetBSD: KOI7.src,v 1.1 2006/04/08 14:15:48 tnozaki Exp $
NAME "KOI7"
ENCODING "NONE"
VARIABLE ""
DEFCSID "KOI7" 0
INVALID 0x3F # ?

View File

@ -0,0 +1,16 @@
# $NetBSD: Makefile.inc,v 1.1 2006/04/08 14:15:48 tnozaki Exp $
.PATH: ${.CURDIR}/KOI
CODE:= KOI
SEP_KOI:=
.include "${.CURDIR}/Makefile.part"
.for i in ${KOI_PART}
.if !exists(${.CURDIR}/KOI/KOI${i:S/:/@/}.src)
KOI${i:S/:/@/}.src: KOI.src
${_MKTARGET_CREATE}
sed 's/KOIx/KOI$i/' $> > $@
CLEANFILES+= KOI${i:S/:/@/}.src
.endif
.endfor

View File

@ -1,7 +0,0 @@
# $NetBSD: KOI8-R.src,v 1.1 2003/07/01 12:16:26 tshiozak Exp $
NAME "KOI8-R"
ENCODING "NONE"
VARIABLE "none"
DEFCSID "KOI8-R" 0
INVALID 0x3F # '?'

View File

@ -1,7 +0,0 @@
# $NetBSD: KOI8-U.src,v 1.1 2003/07/20 19:26:57 tshiozak Exp $
NAME "KOI8-U"
ENCODING "NONE"
VARIABLE "none"
DEFCSID "KOI8-U" 0
INVALID 0x3F # '?'

View File

@ -1,13 +1,10 @@
# $NetBSD: esdb.alias.MISC.src,v 1.5 2006/03/28 14:44:01 tnozaki Exp $ # $NetBSD: esdb.alias.MISC.src,v 1.6 2006/04/08 14:15:48 tnozaki Exp $
shift_jis Shift_JIS shift_jis Shift_JIS
sjis Shift_JIS sjis Shift_JIS
big5 Big5 big5 Big5
big5eten Big5 big5eten Big5
gb18030 GB18030 gb18030 GB18030
koi8-r KOI8-R
koi8-u KOI8-U
iso-ir-111 KOI8-R
ctext CTEXT ctext CTEXT
csPTCP154 PTCP154 csPTCP154 PTCP154
PT154 PTCP154 PT154 PTCP154

View File

@ -1,9 +1,7 @@
# $NetBSD: esdb.dir.MISC.src,v 1.5 2006/03/28 14:44:01 tnozaki Exp $ # $NetBSD: esdb.dir.MISC.src,v 1.6 2006/04/08 14:15:48 tnozaki Exp $
Shift_JIS MISC/Shift_JIS.esdb Shift_JIS MISC/Shift_JIS.esdb
Big5 MISC/Big5.esdb Big5 MISC/Big5.esdb
GB18030 MISC/GB18030.esdb GB18030 MISC/GB18030.esdb
KOI8-R MISC/KOI8-R.esdb
KOI8-U MISC/KOI8-U.esdb
CTEXT MISC/CTEXT.esdb CTEXT MISC/CTEXT.esdb
PTCP154 MISC/PTCP154.esdb PTCP154 MISC/PTCP154.esdb

View File

@ -1,4 +1,4 @@
# $NetBSD: Makefile,v 1.6 2006/04/01 04:13:21 tnozaki Exp $ # $NetBSD: Makefile,v 1.7 2006/04/08 14:15:48 tnozaki Exp $
NOMAN= NOMAN=
@ -12,7 +12,7 @@ BINDIR?= /usr/share/i18n/esdb
${_MKTARGET_CREATE} ${_MKTARGET_CREATE}
${TOOL_MKESDB} -o $@ $> ${TOOL_MKESDB} -o $@ $>
SUBDIR= APPLE AST CP EUC EBCDIC ISO-2022 ISO-8859 ISO646 MISC UTF SUBDIR= APPLE AST CP EUC EBCDIC ISO-2022 ISO-8859 ISO646 KOI MISC UTF
.for i in ${SUBDIR} .for i in ${SUBDIR}
.include "${.CURDIR}/$i/Makefile.inc" .include "${.CURDIR}/$i/Makefile.inc"