2003-01-14  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/Makefile: Add rules to build IBM866NAV.
	* iconvdata/ibm866nav.c: New file.
	* iconvdata/tst-tables.sh: Add IBM866NAV.
	* iconvdata/gconv-modules: Add entries for IBM866NAV.
This commit is contained in:
Ulrich Drepper 2003-01-14 09:39:06 +00:00
parent 642eb2a2ed
commit 2c255347ec
7 changed files with 325 additions and 7 deletions

View File

@ -1,3 +1,10 @@
2003-01-14 Ulrich Drepper <drepper@redhat.com>
* iconvdata/Makefile: Add rules to build IBM866NAV.
* iconvdata/ibm866nav.c: New file.
* iconvdata/tst-tables.sh: Add IBM866NAV.
* iconvdata/gconv-modules: Add entries for IBM866NAV.
2003-01-13 Ulrich Drepper <drepper@redhat.com>
* string/tester.c (test_strcpy): Use the previously #if 0'ed code

View File

@ -1,4 +1,4 @@
# Copyright (C) 1997, 1998, 1999, 2000, 2001, 2002 Free Software Foundation, Inc.
# Copyright (C) 1997-2002, 2003 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# The GNU C Library is free software; you can redistribute it and/or
@ -51,7 +51,7 @@ modules := ISO8859-1 ISO8859-2 ISO8859-3 ISO8859-4 ISO8859-5 \
GB18030 ISO-2022-CN-EXT VISCII GBBIG5 CP10007 KOI8-T \
GEORGIAN-PS GEORGIAN-ACADEMY ISO-IR-209 MAC-SAMI ARMSCII-8 \
TCVN5712-1 libJISX0213 EUC-JISX0213 SHIFT_JISX0213 \
ISO-2022-JP-3 TSCII
ISO-2022-JP-3 TSCII IBM866NAV
modules.so := $(addsuffix .so, $(modules))
@ -167,7 +167,7 @@ distribute := gconv-modules extra-module.mk gap.awk gaptab.awk gconv.map \
mac-sami.c ibm1160.c ibm1160.h ibm1161.c ibm1161.h \
ibm1163.c ibm1163.h ibm1164.c ibm1164.h jisx0213.c jisx0213.h \
euc-jisx0213.c shift_jisx0213.c iso-2022-jp-3.c \
tcvn5712-1.c armscii-8.c tscii.c
tcvn5712-1.c armscii-8.c tscii.c ibm866nav.c
# We build the transformation modules only when we build shared libs.
ifeq (yes,$(build-shared))
@ -208,7 +208,7 @@ gen-8bit-gap-modules := koi8-r latin-greek latin-greek-1 ibm256 ibm273 \
iso8859-13 iso8859-14 iso8859-15 mac-uk sami-ws2 \
iso-ir-197 tis-620 koi8-u ibm874 cp10007 koi8-t \
georgian-ps georgian-academy iso-ir-209 mac-sami \
iso8859-11
iso8859-11 ibm866nav
gen-special-modules := iso8859-7jp

View File

@ -1,5 +1,5 @@
# GNU libc iconv configuration.
# Copyright (C) 1997-1999, 2000-2002 Free Software Foundation, Inc.
# Copyright (C) 1997-1999, 2000-2002, 2003 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
#
@ -823,6 +823,12 @@ alias CSIBM866// IBM866//
module IBM866// INTERNAL IBM866 1
module INTERNAL IBM866// IBM866 1
# from to module cost
alias CP866NAV// IBM866NAV//
alias 866NAV// IBM866NAV//
module IBM866NAV// INTERNAL IBM866NAV 1
module INTERNAL IBM866NAV// IBM866NAV 1
# from to module cost
alias CP868// IBM868//
alias CP-AR// IBM868//

29
iconvdata/ibm866nav.c Normal file
View File

@ -0,0 +1,29 @@
/* Conversion from and to IBM866NAV.
Copyright (C) 2003 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 2003.
The GNU C Library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
The GNU C Library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with the GNU C Library; if not, write to the Free
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA
02111-1307 USA. */
#include <stdint.h>
/* Get the conversion table. */
#define TABLES <ibm866nav.h>
#define CHARSET_NAME "IBM866NAV//"
#define HAS_HOLES 0 /* All 256 character are defined. */
#include <8bit-gap.c>

View File

@ -1,5 +1,5 @@
#!/bin/sh
# Copyright (C) 2000, 2001, 2002 Free Software Foundation, Inc.
# Copyright (C) 2000, 2001, 2002, 2003 Free Software Foundation, Inc.
# This file is part of the GNU C Library.
# Contributed by Bruno Haible <haible@clisp.cons.org>, 2000.
#
@ -127,6 +127,7 @@ cat <<EOF |
IBM864
IBM865
IBM866
IBM866NAV
IBM868
IBM869
IBM870

View File

@ -1,3 +1,7 @@
2003-01-14 Ulrich Drepper <drepper@redhat.com>
* charmaps/IBM866NAV: New file. Contributed by vidybida@bitp.kiev.ua.
2002-12-03 Roland McGrath <roland@redhat.com>
* charmaps/CP1125: New file.
@ -5,7 +9,7 @@
2002-11-06 Thorsten Kukuk <kukuk@suse.de>
* locales/tl_PH: Fix typo: Philipines -> Philippines.
* locales/tl_PH: Fix typo: Philipines -> Philippines.
2002-10-18 Bruno Haible <bruno@clisp.org>

View File

@ -0,0 +1,271 @@
<code_set_name> IBM866NAV
<comment_char> %
<escape_char> /
% Obtained by editing IBM866 charmap (Alexander Vidybida)
%
% Corresponds to Ukrainian texts produced with "keyrus" screen and
% keyboard driver under DOS
%
% Corresponds to file `cp866nav.def' from the
% standard LaTeX `Cyrillic Bundle' except of codes /xfd, /xfe
% alias CP866NAV
% alias 866NAV
CHARMAP
<U0000> /x00 NULL
<U0001> /x01 START OF HEADING
<U0002> /x02 START OF TEXT
<U0003> /x03 END OF TEXT
<U0004> /x04 END OF TRANSMISSION
<U0005> /x05 ENQUIRY
<U0006> /x06 ACKNOWLEDGE
<U0007> /x07 BELL
<U0008> /x08 BACKSPACE
<U0009> /x09 HORIZONTAL TABULATION
<U000A> /x0a LINE FEED
<U000B> /x0b VERTICAL TABULATION
<U000C> /x0c FORM FEED
<U000D> /x0d CARRIAGE RETURN
<U000E> /x0e SHIFT OUT
<U000F> /x0f SHIFT IN
<U0010> /x10 DATA LINK ESCAPE
<U0011> /x11 DEVICE CONTROL ONE
<U0012> /x12 DEVICE CONTROL TWO
<U0013> /x13 DEVICE CONTROL THREE
<U0014> /x14 DEVICE CONTROL FOUR
<U0015> /x15 NEGATIVE ACKNOWLEDGE
<U0016> /x16 SYNCHRONOUS IDLE
<U0017> /x17 END OF TRANSMISSION BLOCK
<U0018> /x18 CANCEL
<U0019> /x19 END OF MEDIUM
<U001A> /x1a SUBSTITUTE
<U001B> /x1b ESCAPE
<U001C> /x1c FILE SEPARATOR
<U001D> /x1d GROUP SEPARATOR
<U001E> /x1e RECORD SEPARATOR
<U001F> /x1f UNIT SEPARATOR
<U0020> /x20 SPACE
<U0021> /x21 EXCLAMATION MARK
<U0022> /x22 QUOTATION MARK
<U0023> /x23 NUMBER SIGN
<U0024> /x24 DOLLAR SIGN
<U0025> /x25 PERCENT SIGN
<U0026> /x26 AMPERSAND
<U0027> /x27 APOSTROPHE
<U0028> /x28 LEFT PARENTHESIS
<U0029> /x29 RIGHT PARENTHESIS
<U002A> /x2a ASTERISK
<U002B> /x2b PLUS SIGN
<U002C> /x2c COMMA
<U002D> /x2d HYPHEN-MINUS
<U002E> /x2e FULL STOP
<U002F> /x2f SOLIDUS
<U0030> /x30 DIGIT ZERO
<U0031> /x31 DIGIT ONE
<U0032> /x32 DIGIT TWO
<U0033> /x33 DIGIT THREE
<U0034> /x34 DIGIT FOUR
<U0035> /x35 DIGIT FIVE
<U0036> /x36 DIGIT SIX
<U0037> /x37 DIGIT SEVEN
<U0038> /x38 DIGIT EIGHT
<U0039> /x39 DIGIT NINE
<U003A> /x3a COLON
<U003B> /x3b SEMICOLON
<U003C> /x3c LESS-THAN SIGN
<U003D> /x3d EQUALS SIGN
<U003E> /x3e GREATER-THAN SIGN
<U003F> /x3f QUESTION MARK
<U0040> /x40 COMMERCIAL AT
<U0041> /x41 LATIN CAPITAL LETTER A
<U0042> /x42 LATIN CAPITAL LETTER B
<U0043> /x43 LATIN CAPITAL LETTER C
<U0044> /x44 LATIN CAPITAL LETTER D
<U0045> /x45 LATIN CAPITAL LETTER E
<U0046> /x46 LATIN CAPITAL LETTER F
<U0047> /x47 LATIN CAPITAL LETTER G
<U0048> /x48 LATIN CAPITAL LETTER H
<U0049> /x49 LATIN CAPITAL LETTER I
<U004A> /x4a LATIN CAPITAL LETTER J
<U004B> /x4b LATIN CAPITAL LETTER K
<U004C> /x4c LATIN CAPITAL LETTER L
<U004D> /x4d LATIN CAPITAL LETTER M
<U004E> /x4e LATIN CAPITAL LETTER N
<U004F> /x4f LATIN CAPITAL LETTER O
<U0050> /x50 LATIN CAPITAL LETTER P
<U0051> /x51 LATIN CAPITAL LETTER Q
<U0052> /x52 LATIN CAPITAL LETTER R
<U0053> /x53 LATIN CAPITAL LETTER S
<U0054> /x54 LATIN CAPITAL LETTER T
<U0055> /x55 LATIN CAPITAL LETTER U
<U0056> /x56 LATIN CAPITAL LETTER V
<U0057> /x57 LATIN CAPITAL LETTER W
<U0058> /x58 LATIN CAPITAL LETTER X
<U0059> /x59 LATIN CAPITAL LETTER Y
<U005A> /x5a LATIN CAPITAL LETTER Z
<U005B> /x5b LEFT SQUARE BRACKET
<U005C> /x5c REVERSE SOLIDUS
<U005D> /x5d RIGHT SQUARE BRACKET
<U005E> /x5e CIRCUMFLEX ACCENT
<U005F> /x5f LOW LINE
<U0060> /x60 GRAVE ACCENT
<U0061> /x61 LATIN SMALL LETTER A
<U0062> /x62 LATIN SMALL LETTER B
<U0063> /x63 LATIN SMALL LETTER C
<U0064> /x64 LATIN SMALL LETTER D
<U0065> /x65 LATIN SMALL LETTER E
<U0066> /x66 LATIN SMALL LETTER F
<U0067> /x67 LATIN SMALL LETTER G
<U0068> /x68 LATIN SMALL LETTER H
<U0069> /x69 LATIN SMALL LETTER I
<U006A> /x6a LATIN SMALL LETTER J
<U006B> /x6b LATIN SMALL LETTER K
<U006C> /x6c LATIN SMALL LETTER L
<U006D> /x6d LATIN SMALL LETTER M
<U006E> /x6e LATIN SMALL LETTER N
<U006F> /x6f LATIN SMALL LETTER O
<U0070> /x70 LATIN SMALL LETTER P
<U0071> /x71 LATIN SMALL LETTER Q
<U0072> /x72 LATIN SMALL LETTER R
<U0073> /x73 LATIN SMALL LETTER S
<U0074> /x74 LATIN SMALL LETTER T
<U0075> /x75 LATIN SMALL LETTER U
<U0076> /x76 LATIN SMALL LETTER V
<U0077> /x77 LATIN SMALL LETTER W
<U0078> /x78 LATIN SMALL LETTER X
<U0079> /x79 LATIN SMALL LETTER Y
<U007A> /x7a LATIN SMALL LETTER Z
<U007B> /x7b LEFT CURLY BRACKET
<U007C> /x7c VERTICAL LINE
<U007D> /x7d RIGHT CURLY BRACKET
<U007E> /x7e TILDE
<U007F> /x7f DELETE
<U0410> /x80 CYRILLIC CAPITAL LETTER A
<U0411> /x81 CYRILLIC CAPITAL LETTER BE
<U0412> /x82 CYRILLIC CAPITAL LETTER VE
<U0413> /x83 CYRILLIC CAPITAL LETTER GHE
<U0414> /x84 CYRILLIC CAPITAL LETTER DE
<U0415> /x85 CYRILLIC CAPITAL LETTER IE
<U0416> /x86 CYRILLIC CAPITAL LETTER ZHE
<U0417> /x87 CYRILLIC CAPITAL LETTER ZE
<U0418> /x88 CYRILLIC CAPITAL LETTER I
<U0419> /x89 CYRILLIC CAPITAL LETTER SHORT I
<U041A> /x8a CYRILLIC CAPITAL LETTER KA
<U041B> /x8b CYRILLIC CAPITAL LETTER EL
<U041C> /x8c CYRILLIC CAPITAL LETTER EM
<U041D> /x8d CYRILLIC CAPITAL LETTER EN
<U041E> /x8e CYRILLIC CAPITAL LETTER O
<U041F> /x8f CYRILLIC CAPITAL LETTER PE
<U0420> /x90 CYRILLIC CAPITAL LETTER ER
<U0421> /x91 CYRILLIC CAPITAL LETTER ES
<U0422> /x92 CYRILLIC CAPITAL LETTER TE
<U0423> /x93 CYRILLIC CAPITAL LETTER U
<U0424> /x94 CYRILLIC CAPITAL LETTER EF
<U0425> /x95 CYRILLIC CAPITAL LETTER HA
<U0426> /x96 CYRILLIC CAPITAL LETTER TSE
<U0427> /x97 CYRILLIC CAPITAL LETTER CHE
<U0428> /x98 CYRILLIC CAPITAL LETTER SHA
<U0429> /x99 CYRILLIC CAPITAL LETTER SHCHA
<U042A> /x9a CYRILLIC CAPITAL LETTER HARD SIGN
<U042B> /x9b CYRILLIC CAPITAL LETTER YERU
<U042C> /x9c CYRILLIC CAPITAL LETTER SOFT SIGN
<U042D> /x9d CYRILLIC CAPITAL LETTER E
<U042E> /x9e CYRILLIC CAPITAL LETTER YU
<U042F> /x9f CYRILLIC CAPITAL LETTER YA
<U0430> /xa0 CYRILLIC SMALL LETTER A
<U0431> /xa1 CYRILLIC SMALL LETTER BE
<U0432> /xa2 CYRILLIC SMALL LETTER VE
<U0433> /xa3 CYRILLIC SMALL LETTER GHE
<U0434> /xa4 CYRILLIC SMALL LETTER DE
<U0435> /xa5 CYRILLIC SMALL LETTER IE
<U0436> /xa6 CYRILLIC SMALL LETTER ZHE
<U0437> /xa7 CYRILLIC SMALL LETTER ZE
<U0438> /xa8 CYRILLIC SMALL LETTER I
<U0439> /xa9 CYRILLIC SMALL LETTER SHORT I
<U043A> /xaa CYRILLIC SMALL LETTER KA
<U043B> /xab CYRILLIC SMALL LETTER EL
<U043C> /xac CYRILLIC SMALL LETTER EM
<U043D> /xad CYRILLIC SMALL LETTER EN
<U043E> /xae CYRILLIC SMALL LETTER O
<U043F> /xaf CYRILLIC SMALL LETTER PE
<U2591> /xb0 LIGHT SHADE
<U2592> /xb1 MEDIUM SHADE
<U2593> /xb2 DARK SHADE
<U2502> /xb3 BOX DRAWINGS LIGHT VERTICAL
<U2524> /xb4 BOX DRAWINGS LIGHT VERTICAL AND LEFT
<U2561> /xb5 BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE
<U2562> /xb6 BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE
<U2556> /xb7 BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE
<U2555> /xb8 BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE
<U2563> /xb9 BOX DRAWINGS DOUBLE VERTICAL AND LEFT
<U2551> /xba BOX DRAWINGS DOUBLE VERTICAL
<U2557> /xbb BOX DRAWINGS DOUBLE DOWN AND LEFT
<U255D> /xbc BOX DRAWINGS DOUBLE UP AND LEFT
<U255C> /xbd BOX DRAWINGS UP DOUBLE AND LEFT SINGLE
<U255B> /xbe BOX DRAWINGS UP SINGLE AND LEFT DOUBLE
<U2510> /xbf BOX DRAWINGS LIGHT DOWN AND LEFT
<U2514> /xc0 BOX DRAWINGS LIGHT UP AND RIGHT
<U2534> /xc1 BOX DRAWINGS LIGHT UP AND HORIZONTAL
<U252C> /xc2 BOX DRAWINGS LIGHT DOWN AND HORIZONTAL
<U251C> /xc3 BOX DRAWINGS LIGHT VERTICAL AND RIGHT
<U2500> /xc4 BOX DRAWINGS LIGHT HORIZONTAL
<U253C> /xc5 BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL
<U255E> /xc6 BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE
<U255F> /xc7 BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE
<U255A> /xc8 BOX DRAWINGS DOUBLE UP AND RIGHT
<U2554> /xc9 BOX DRAWINGS DOUBLE DOWN AND RIGHT
<U2569> /xca BOX DRAWINGS DOUBLE UP AND HORIZONTAL
<U2566> /xcb BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL
<U2560> /xcc BOX DRAWINGS DOUBLE VERTICAL AND RIGHT
<U2550> /xcd BOX DRAWINGS DOUBLE HORIZONTAL
<U256C> /xce BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL
<U2567> /xcf BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE
<U2568> /xd0 BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE
<U2564> /xd1 BOX DRAWINGS DOWN SINGLE AND HORIZONTAL DOUBLE
<U2565> /xd2 BOX DRAWINGS DOWN DOUBLE AND HORIZONTAL SINGLE
<U2559> /xd3 BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE
<U2558> /xd4 BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE
<U2552> /xd5 BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE
<U2553> /xd6 BOX DRAWINGS DOWN DOUBLE AND RIGHT SINGLE
<U256B> /xd7 BOX DRAWINGS VERTICAL DOUBLE AND HORIZONTAL SINGLE
<U256A> /xd8 BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE
<U2518> /xd9 BOX DRAWINGS LIGHT UP AND LEFT
<U250C> /xda BOX DRAWINGS LIGHT DOWN AND RIGHT
<U2588> /xdb FULL BLOCK
<U2584> /xdc LOWER HALF BLOCK
<U258C> /xdd LEFT HALF BLOCK
<U2590> /xde RIGHT HALF BLOCK
<U2580> /xdf UPPER HALF BLOCK
<U0440> /xe0 CYRILLIC SMALL LETTER ER
<U0441> /xe1 CYRILLIC SMALL LETTER ES
<U0442> /xe2 CYRILLIC SMALL LETTER TE
<U0443> /xe3 CYRILLIC SMALL LETTER U
<U0444> /xe4 CYRILLIC SMALL LETTER EF
<U0445> /xe5 CYRILLIC SMALL LETTER HA
<U0446> /xe6 CYRILLIC SMALL LETTER TSE
<U0447> /xe7 CYRILLIC SMALL LETTER CHE
<U0448> /xe8 CYRILLIC SMALL LETTER SHA
<U0449> /xe9 CYRILLIC SMALL LETTER SHCHA
<U044A> /xea CYRILLIC SMALL LETTER HARD SIGN
<U044B> /xeb CYRILLIC SMALL LETTER YERU
<U044C> /xec CYRILLIC SMALL LETTER SOFT SIGN
<U044D> /xed CYRILLIC SMALL LETTER E
<U044E> /xee CYRILLIC SMALL LETTER YU
<U044F> /xef CYRILLIC SMALL LETTER YA
<U0401> /xf0 CYRILLIC CAPITAL LETTER IO
<U0451> /xf1 CYRILLIC SMALL LETTER IO
<U0404> /xf2 CYRILLIC CAPITAL LETTER GHE WITH UPTURN
<U0454> /xf3 CYRILLIC SMALL LETTER GHE WITH UPTURN
<U0407> /xf4 CYRILLIC CAPITAL LETTER UKRAINIAN IE
<U0457> /xf5 CYRILLIC SMALL LETTER UKRAINIAN IE
<U040E> /xf6 CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I
<U045E> /xf7 CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I
<U00B0> /xf8 CYRILLIC CAPITAL LETTER YI (Ukrainian)
<U2219> /xf9 CYRILLIC SMALL LETTER YI (Ukrainian)
<U00B7> /xfa CYRILLIC CAPITAL LETTER SHORT U
<U221A> /xfb CYRILLIC SMALL LETTER SHORT U
<U2116> /xfc NUMERO SIGN
<U00A4> /xfd CURRENCY SIGN
<U25A0> /xfe BLACK SQUARE
<U00A0> /xff NO-BREAK SPACE
END CHARMAP