Correct KOI8-U conversion table and add .ut and .uf file.

Thanks Dmitry Kohmanyuk dk@farm.org from the net. However, we are
not sure the mapping for Bullet is correct.
This commit is contained in:
ftang%netscape.com 1998-08-04 19:09:29 +00:00
parent 9c64ee503f
commit 042476458e
3 changed files with 358 additions and 1 deletions

View File

@ -166,7 +166,7 @@
0xB1 0x2560 # BOX DRAWINGS DOUBLE VERTICAL AND RIGHT
0xB2 0x2561 # BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE
0xB3 0x0401 # CYRILLIC CAPITAL LETTER IO
0xB4 0x0403 # CYRILLIC CAPITAL LETTER UKRAINIAN IE
0xB4 0x0404 # CYRILLIC CAPITAL LETTER UKRAINIAN IE
0xB5 0x2563 # BOX DRAWINGS DOUBLE VERTICAL AND LEFT
0xB6 0x0406 # CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I
0xB7 0x0407 # CYRILLIC CAPITAL LETTER YI (UKRAINIAN)

View File

@ -0,0 +1,240 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*========================================================
This is a Generated file. Please don't edit it.
The tool which used to generate this file is called fromu.
If you have any problem of this file. Please contact
Netscape Client International Team or
ftang@netscape <Frank Tang>
Table in Debug form
Begin of Item 0000
Format 0
srcBegin = 0020
srcEnd = 007E
destBegin = 0020
End of Item 0000
Begin of Item 0001
Format 0
srcBegin = 0418
srcEnd = 041F
destBegin = 00E9
End of Item 0001
Begin of Item 0002
Format 0
srcBegin = 0438
srcEnd = 043F
destBegin = 00C9
End of Item 0002
Begin of Item 0003
Format 1
srcBegin = 00A0
srcEnd = 00B7
mappingOffset = 0000
Mapping =
009A FFFD FFFD FFFD FFFD FFFD FFFD FFFD
FFFD 00BF FFFD FFFD FFFD FFFD FFFD FFFD
009C FFFD 009D FFFD FFFD FFFD FFFD 009E
End of Item 0003
Begin of Item 0004
Format 2
srcBegin = 00F7
destBegin = 009F
End of Item 0004
Begin of Item 0005
Format 1
srcBegin = 0401
srcEnd = 0457
mappingOffset = 0018
Mapping =
00B3 FFFD FFFD 00B4 FFFD 00B6 00B7 FFFD
FFFD FFFD FFFD FFFD FFFD FFFD FFFD 00E1
00E2 00F7 00E7 00E4 00E5 00F6 00FA FFFD
FFFD FFFD FFFD FFFD FFFD FFFD FFFD 00F2
00F3 00F4 00F5 00E6 00E8 00E3 00FE 00FB
00FD 00FF 00F9 00F8 00FC 00E0 00F1 00C1
00C2 00D7 00C7 00C4 00C5 00D6 00DA FFFD
FFFD FFFD FFFD FFFD FFFD FFFD FFFD 00D2
00D3 00D4 00D5 00C6 00C8 00C3 00DE 00DB
00DD 00DF 00D9 00D8 00DC 00C0 00D1 FFFD
00A3 FFFD FFFD 00A4 FFFD 00A6 00A7
End of Item 0005
Begin of Item 0006
Format 1
srcBegin = 0490
srcEnd = 0491
mappingOffset = 006F
Mapping =
00BD 00AD
End of Item 0006
Begin of Item 0007
Format 1
srcBegin = 2219
srcEnd = 221A
mappingOffset = 0071
Mapping =
0095 0096
End of Item 0007
Begin of Item 0008
Format 2
srcBegin = 2248
destBegin = 0097
End of Item 0008
Begin of Item 0009
Format 1
srcBegin = 2264
srcEnd = 2265
mappingOffset = 0073
Mapping =
0098 0099
End of Item 0009
Begin of Item 000A
Format 1
srcBegin = 2320
srcEnd = 2321
mappingOffset = 0075
Mapping =
0093 009B
End of Item 000A
Begin of Item 000B
Format 1
srcBegin = 2500
srcEnd = 253C
mappingOffset = 0077
Mapping =
0080 FFFD 0081 FFFD FFFD FFFD FFFD FFFD
FFFD FFFD FFFD FFFD 0082 FFFD FFFD FFFD
0083 FFFD FFFD FFFD 0084 FFFD FFFD FFFD
0085 FFFD FFFD FFFD 0086 FFFD FFFD FFFD
FFFD FFFD FFFD FFFD 0087 FFFD FFFD FFFD
FFFD FFFD FFFD FFFD 0088 FFFD FFFD FFFD
FFFD FFFD FFFD FFFD 0089 FFFD FFFD FFFD
FFFD FFFD FFFD FFFD 008A
End of Item 000B
Begin of Item 000C
Format 1
srcBegin = 2550
srcEnd = 256C
mappingOffset = 00B4
Mapping =
00A0 00A1 00A2 FFFD 00A5 FFFD FFFD 00A8
00A9 00AA 00AB 00AC FFFD 00AE 00AF 00B0
00B1 00B2 FFFD 00B5 FFFD FFFD 00B8 00B9
00BA 00BB 00BC FFFD 00BE
End of Item 000C
Begin of Item 000D
Format 1
srcBegin = 2580
srcEnd = 2593
mappingOffset = 00D1
Mapping =
008B FFFD FFFD FFFD 008C FFFD FFFD FFFD
008D FFFD FFFD FFFD 008E FFFD FFFD FFFD
008F 0090 0091 0092
End of Item 000D
Begin of Item 000E
Format 2
srcBegin = 25A0
destBegin = 0094
End of Item 000E
========================================================*/
/* Offset=0x0000 ItemOfList */
0x000F,
/*-------------------------------------------------------*/
/* Offset=0x0001 offsetToFormatArray */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0002 offsetToMapCellArray */
0x0008,
/*-------------------------------------------------------*/
/* Offset=0x0003 offsetToMappingTable */
0x0035,
/*-------------------------------------------------------*/
/* Offset=0x0004 Start of Format Array */
/* Total of Format 0 : 0x0003 */
/* Total of Format 1 : 0x0009 */
/* Total of Format 2 : 0x0003 */
/* Total of Format 3 : 0x0000 */
0x1000, 0x1112, 0x1112, 0x0211,
/*-------------------------------------------------------*/
/* Offset=0x0008 Start of MapCell Array */
/* 0000 */ 0x0020, 0x007E, 0x0020,
/* 0001 */ 0x0418, 0x041F, 0x00E9,
/* 0002 */ 0x0438, 0x043F, 0x00C9,
/* 0003 */ 0x00A0, 0x00B7, 0x0000,
/* 0004 */ 0x00F7, 0x0000, 0x009F,
/* 0005 */ 0x0401, 0x0457, 0x0018,
/* 0006 */ 0x0490, 0x0491, 0x006F,
/* 0007 */ 0x2219, 0x221A, 0x0071,
/* 0008 */ 0x2248, 0x0000, 0x0097,
/* 0009 */ 0x2264, 0x2265, 0x0073,
/* 000A */ 0x2320, 0x2321, 0x0075,
/* 000B */ 0x2500, 0x253C, 0x0077,
/* 000C */ 0x2550, 0x256C, 0x00B4,
/* 000D */ 0x2580, 0x2593, 0x00D1,
/* 000E */ 0x25A0, 0x0000, 0x0094,
/*-------------------------------------------------------*/
/* Offset=0x0035 Start of MappingTable */
/* 0000 */ 0x009A, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0008 */ 0xFFFD, 0x00BF, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0010 */ 0x009C, 0xFFFD, 0x009D, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x009E,
/* 0018 */ 0x00B3, 0xFFFD, 0xFFFD, 0x00B4, 0xFFFD, 0x00B6, 0x00B7, 0xFFFD,
/* 0020 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00E1,
/* 0028 */ 0x00E2, 0x00F7, 0x00E7, 0x00E4, 0x00E5, 0x00F6, 0x00FA, 0xFFFD,
/* 0030 */ 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0x00F2,
/* 0038 */ 0x00F3, 0x00F4, 0x00F5, 0x00E6, 0x00E8, 0x00E3, 0x00FE, 0x00FB,
/* 0040 */ 0x00FD, 0x00FF, 0x00F9, 0x00F8, 0x00FC, 0x00E0, 0x00F1, 0x00C1,
/* 0048 */ 0x00C2, 0x00D7, 0x00C7, 0x00C4, 0x00C5, 0x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1, 0x00B2, 0xFFFD, 0x00B5,
/* 00C8 */ 0xFFFD, 0xFFFD, 0x00B8, 0x00B9, 0x00BA, 0x00BB, 0x00BC, 0xFFFD,
/* 00D0 */ 0x00BE, 0x008B, 0xFFFD, 0xFFFD, 0xFFFD, 0x008C, 0xFFFD, 0xFFFD,
/* 00D8 */ 0xFFFD, 0x008D, 0xFFFD, 0xFFFD, 0xFFFD, 0x008E, 0xFFFD, 0xFFFD,
/* 00E0 */ 0xFFFD, 0x008F, 0x0090, 0x0091, 0x0092,
/* End of table Total Length = 0x011A * 2 */

View File

@ -0,0 +1,117 @@
/* -*- Mode: C; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*-
*
* The contents of this file are subject to the Netscape Public License
* Version 1.0 (the "NPL"); you may not use this file except in
* compliance with the NPL. You may obtain a copy of the NPL at
* http://www.mozilla.org/NPL/
*
* Software distributed under the NPL is distributed on an "AS IS" basis,
* WITHOUT WARRANTY OF ANY KIND, either express or implied. See the NPL
* for the specific language governing rights and limitations under the
* NPL.
*
* The Initial Developer of this code under the NPL is Netscape
* Communications Corporation. Portions created by Netscape are
* Copyright (C) 1998 Netscape Communications Corporation. All Rights
* Reserved.
*/
/*========================================================
This is a Generated file. Please don't edit it.
The tool which used to generate this file is called fromu.
If you have any problem of this file. Please contact
Netscape Client International Team or
ftang@netscape <Frank Tang>
Table in Debug form
Begin of Item 0000
Format 0
srcBegin = 0020
srcEnd = 007E
destBegin = 0020
End of Item 0000
Begin of Item 0001
Format 0
srcBegin = 00C9
srcEnd = 00D0
destBegin = 0438
End of Item 0001
Begin of Item 0002
Format 0
srcBegin = 00E9
srcEnd = 00F0
destBegin = 0418
End of Item 0002
Begin of Item 0003
Format 1
srcBegin = 0080
srcEnd = 00FF
mappingOffset = 0000
Mapping =
2500 2502 250C 2510 2514 2518 251C 2524
252C 2534 253C 2580 2584 2588 258C 2590
2591 2592 2593 2320 25A0 2219 221A 2248
2264 2265 00A0 2321 00B0 00B2 00B7 00F7
2550 2551 2552 0451 0454 2554 0456 0457
2557 2558 2559 255A 255B 0491 255D 255E
255F 2560 2561 0401 0404 2563 0406 0407
2566 2567 2568 2569 256A 0490 256C 00A9
044E 0430 0431 0446 0434 0435 0444 0433
0445 FFFD FFFD FFFD FFFD FFFD FFFD FFFD
FFFD 044F 0440 0441 0442 0443 0436 0432
044C 044B 0437 0448 044D 0449 0447 044A
042E 0410 0411 0426 0414 0415 0424 0413
0425 FFFD FFFD FFFD FFFD FFFD FFFD FFFD
FFFD 042F 0420 0421 0422 0423 0416 0412
042C 042B 0417 0428 042D 0429 0427 042A
End of Item 0003
========================================================*/
/* Offset=0x0000 ItemOfList */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0001 offsetToFormatArray */
0x0004,
/*-------------------------------------------------------*/
/* Offset=0x0002 offsetToMapCellArray */
0x0006,
/*-------------------------------------------------------*/
/* Offset=0x0003 offsetToMappingTable */
0x0012,
/*-------------------------------------------------------*/
/* Offset=0x0004 Start of Format Array */
/* Total of Format 0 : 0x0003 */
/* Total of Format 1 : 0x0001 */
/* Total of Format 2 : 0x0000 */
/* Total of Format 3 : 0x0000 */
0x1000, 0x0000,
/*-------------------------------------------------------*/
/* Offset=0x0006 Start of MapCell Array */
/* 0000 */ 0x0020, 0x007E, 0x0020,
/* 0001 */ 0x00C9, 0x00D0, 0x0438,
/* 0002 */ 0x00E9, 0x00F0, 0x0418,
/* 0003 */ 0x0080, 0x00FF, 0x0000,
/*-------------------------------------------------------*/
/* Offset=0x0012 Start of MappingTable */
/* 0000 */ 0x2500, 0x2502, 0x250C, 0x2510, 0x2514, 0x2518, 0x251C, 0x2524,
/* 0008 */ 0x252C, 0x2534, 0x253C, 0x2580, 0x2584, 0x2588, 0x258C, 0x2590,
/* 0010 */ 0x2591, 0x2592, 0x2593, 0x2320, 0x25A0, 0x2219, 0x221A, 0x2248,
/* 0018 */ 0x2264, 0x2265, 0x00A0, 0x2321, 0x00B0, 0x00B2, 0x00B7, 0x00F7,
/* 0020 */ 0x2550, 0x2551, 0x2552, 0x0451, 0x0454, 0x2554, 0x0456, 0x0457,
/* 0028 */ 0x2557, 0x2558, 0x2559, 0x255A, 0x255B, 0x0491, 0x255D, 0x255E,
/* 0030 */ 0x255F, 0x2560, 0x2561, 0x0401, 0x0404, 0x2563, 0x0406, 0x0407,
/* 0038 */ 0x2566, 0x2567, 0x2568, 0x2569, 0x256A, 0x0490, 0x256C, 0x00A9,
/* 0040 */ 0x044E, 0x0430, 0x0431, 0x0446, 0x0434, 0x0435, 0x0444, 0x0433,
/* 0048 */ 0x0445, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0050 */ 0xFFFD, 0x044F, 0x0440, 0x0441, 0x0442, 0x0443, 0x0436, 0x0432,
/* 0058 */ 0x044C, 0x044B, 0x0437, 0x0448, 0x044D, 0x0449, 0x0447, 0x044A,
/* 0060 */ 0x042E, 0x0410, 0x0411, 0x0426, 0x0414, 0x0415, 0x0424, 0x0413,
/* 0068 */ 0x0425, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD, 0xFFFD,
/* 0070 */ 0xFFFD, 0x042F, 0x0420, 0x0421, 0x0422, 0x0423, 0x0416, 0x0412,
/* 0078 */ 0x042C, 0x042B, 0x0417, 0x0428, 0x042D, 0x0429, 0x0427, 0x042A,
/* End of table Total Length = 0x0092 * 2 */