* iconvdata/Makefile (modules): Add ISO8859-9E.

(distribute): Add iso8859-9e.c.
	(gen-8bit-gap-modules): Add iso8859-9e.
	* iconvdata/iso8859-9e.c: New file.
	* iconvdata/gconv-modules: Add entries for ISO-8859-9E.
	* iconvdata/TESTS: Likewise.
	* iconvdata/tst-tables.sh: Likewise.

	* iconvdata/koi8-r.c (HAS_HOLES): Define to 0.
This commit is contained in:
Ulrich Drepper 2007-09-30 04:00:26 +00:00
parent 6c522e2191
commit 8ad5c3cd01
8 changed files with 318 additions and 3 deletions

View File

@ -1,5 +1,15 @@
2007-09-29 Ulrich Drepper <drepper@redhat.com>
* iconvdata/Makefile (modules): Add ISO8859-9E.
(distribute): Add iso8859-9e.c.
(gen-8bit-gap-modules): Add iso8859-9e.
* iconvdata/iso8859-9e.c: New file.
* iconvdata/gconv-modules: Add entries for ISO-8859-9E.
* iconvdata/TESTS: Likewise.
* iconvdata/tst-tables.sh: Likewise.
* iconvdata/koi8-r.c (HAS_HOLES): Define to 0.
* locale/iso-639.def: Add several new entries.
2007-09-24 Jakub Jelinek <jakub@redhat.com>

View File

@ -59,7 +59,7 @@ modules := ISO8859-1 ISO8859-2 ISO8859-3 ISO8859-4 ISO8859-5 \
IBM1149 IBM1166 IBM1167 IBM4517 IBM4899 IBM4909 IBM4971 \
IBM5347 IBM9030 IBM9066 IBM9448 IBM12712 IBM16804 \
IBM1364 IBM1371 IBM1388 IBM1390 IBM1399 ISO_11548-1 MIK BRF \
MAC-CENTRALEUROPE KOI8-RU
MAC-CENTRALEUROPE KOI8-RU ISO8859-9E
modules.so := $(addsuffix .so, $(modules))
@ -166,7 +166,7 @@ distribute := gconv-modules extra-module.mk gap.awk gaptab.awk gconv.map \
inis-cyrillic.c iso-2022-jp.c iso-2022-kr.c iso646.c \
iso8859-1.c iso8859-2.c iso8859-3.c iso8859-4.c iso8859-5.c \
iso8859-6.c iso8859-7.c iso8859-8.c iso8859-9.c iso8859-10.c \
iso8859-11.c iso8859-13.c iso8859-14.c \
iso8859-11.c iso8859-13.c iso8859-14.c iso8859-9e.c \
iso8859-15.c iso_2033.c iso_5427-ext.c iso_5427.c iso_5428.c \
iso_6937.c iso_6937-2.c iso_10367-box.c jis0201.c jis0201.h \
jis0208.c jis0208.h jis0212.c jis0212.h johab.c koi-8.c \
@ -222,7 +222,8 @@ gen-8bit-modules := iso8859-2 iso8859-3 iso8859-4 iso8859-6 iso8859-9 koi-8 \
ebcdic-es-s ebcdic-fi-se ebcdic-fi-se-a ebcdic-fr \
ebcdic-is-friss ebcdic-it ebcdic-pt ebcdic-uk ebcdic-us \
ibm037 ibm038 ibm274 ibm275 ibm423 ibm500 ibm870 ibm871 \
ibm891 ibm903 ibm904 ibm905 ibm1047 iso8859-16 viscii
ibm891 ibm903 ibm904 ibm905 ibm1047 iso8859-16 viscii \
iso8859-9e
gen-8bit-gap-modules := koi8-r latin-greek latin-greek-1 ibm256 ibm273 \
ibm277 ibm278 ibm280 ibm281 ibm284 ibm285 ibm290 \

View File

@ -39,6 +39,7 @@ ISO-8859-6 ISO-8859-6 Y UTF8
ISO-8859-7 ISO-8859-7 Y UTF8
ISO-8859-8 ISO-8859-8 Y UTF8
ISO-8859-9 ISO-8859-9 Y UTF8
ISO-8859-9E ISO-8859-9E Y UTF8
ISO-8859-10 ISO-8859-10 Y UCS-2BE UTF8
ISO-8859-14 ISO-8859-14 Y UTF8
ISO-8859-15 ISO-8859-15 Y UTF8

View File

@ -1920,3 +1920,10 @@ module INTERNAL MAC-CENTRALEUROPE// MAC-CENTRALEUROPE 1
# from to module cost
module KOI8-RU// INTERNAL KOI8-RU 1
module INTERNAL KOI8-RU// KOI8-RU 1
# from to module cost
alias ISO_8859-9E// ISO-8859-9E//
alias ISO8859-9E// ISO-8859-9E//
alias ISO88599E// ISO-8859-9E//
module ISO-8859-9E// INTERNAL ISO8859-9E 1
module INTERNAL ISO-8859-9E// ISO8859-9E 1

28
iconvdata/iso8859-9e.c Normal file
View File

@ -0,0 +1,28 @@
/* Conversion from and to ISO 8859-9E.
Copyright (C) 2007 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2007.
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. */
/* Get the conversion table. */
#include <stdint.h>
#include <iso8859-9e.h>
#define CHARSET_NAME "ISO-8859-9E//"
#define HAS_HOLES 0 /* All 256 character are defined. */
#include <8bit-generic.c>

View File

@ -65,6 +65,7 @@ cat <<EOF |
ISO-8859-7
ISO-8859-8
ISO-8859-9
ISO-8859-9E
ISO-8859-10
ISO-8859-11
ISO-8859-13

View File

@ -1,3 +1,7 @@
2007-09-29 Ulrich Drepper <drepper@redhat.com>
* charmaps/ISO-8859-9E: New file.
2007-09-28 Ulrich Drepper <drepper@redhat.com>
* charmaps/KOI8-RU: New file.

View File

@ -0,0 +1,263 @@
<code_set_name> ISO-8859-9E
<comment_char> %
<escape_char> /
% version: 1.2
CHARMAP
<U0000> /x00 NULL (NUL)
<U0001> /x01 START OF HEADING (SOH)
<U0002> /x02 START OF TEXT (STX)
<U0003> /x03 END OF TEXT (ETX)
<U0004> /x04 END OF TRANSMISSION (EOT)
<U0005> /x05 ENQUIRY (ENQ)
<U0006> /x06 ACKNOWLEDGE (ACK)
<U0007> /x07 BELL (BEL)
<U0008> /x08 BACKSPACE (BS)
<U0009> /x09 CHARACTER TABULATION (HT)
<U000A> /x0a LINE FEED (LF)
<U000B> /x0b LINE TABULATION (VT)
<U000C> /x0c FORM FEED (FF)
<U000D> /x0d CARRIAGE RETURN (CR)
<U000E> /x0e SHIFT OUT (SO)
<U000F> /x0f SHIFT IN (SI)
<U0010> /x10 DATALINK ESCAPE (DLE)
<U0011> /x11 DEVICE CONTROL ONE (DC1)
<U0012> /x12 DEVICE CONTROL TWO (DC2)
<U0013> /x13 DEVICE CONTROL THREE (DC3)
<U0014> /x14 DEVICE CONTROL FOUR (DC4)
<U0015> /x15 NEGATIVE ACKNOWLEDGE (NAK)
<U0016> /x16 SYNCHRONOUS IDLE (SYN)
<U0017> /x17 END OF TRANSMISSION BLOCK (ETB)
<U0018> /x18 CANCEL (CAN)
<U0019> /x19 END OF MEDIUM (EM)
<U001A> /x1a SUBSTITUTE (SUB)
<U001B> /x1b ESCAPE (ESC)
<U001C> /x1c FILE SEPARATOR (IS4)
<U001D> /x1d GROUP SEPARATOR (IS3)
<U001E> /x1e RECORD SEPARATOR (IS2)
<U001F> /x1f UNIT SEPARATOR (IS1)
<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 (DEL)
<U0080> /x80 PADDING CHARACTER (PAD)
<U0081> /x81 HIGH OCTET PRESET (HOP)
<U0082> /x82 BREAK PERMITTED HERE (BPH)
<U0083> /x83 NO BREAK HERE (NBH)
<U0084> /x84 INDEX (IND)
<U0085> /x85 NEXT LINE (NEL)
<U0086> /x86 START OF SELECTED AREA (SSA)
<U0087> /x87 END OF SELECTED AREA (ESA)
<U0088> /x88 CHARACTER TABULATION SET (HTS)
<U0089> /x89 CHARACTER TABULATION WITH JUSTIFICATION (HTJ)
<U008A> /x8a LINE TABULATION SET (VTS)
<U008B> /x8b PARTIAL LINE FORWARD (PLD)
<U008C> /x8c PARTIAL LINE BACKWARD (PLU)
<U008D> /x8d REVERSE LINE FEED (RI)
<U008E> /x8e SINGLE-SHIFT TWO (SS2)
<U008F> /x8f SINGLE-SHIFT THREE (SS3)
<U0090> /x90 DEVICE CONTROL STRING (DCS)
<U0091> /x91 PRIVATE USE ONE (PU1)
<U0092> /x92 PRIVATE USE TWO (PU2)
<U0093> /x93 SET TRANSMIT STATE (STS)
<U0094> /x94 CANCEL CHARACTER (CCH)
<U0095> /x95 MESSAGE WAITING (MW)
<U0096> /x96 START OF GUARDED AREA (SPA)
<U0097> /x97 END OF GUARDED AREA (EPA)
<U0098> /x98 START OF STRING (SOS)
<U0099> /x99 SINGLE GRAPHIC CHARACTER INTRODUCER (SGCI)
<U009A> /x9a SINGLE CHARACTER INTRODUCER (SCI)
<U009B> /x9b CONTROL SEQUENCE INTRODUCER (CSI)
<U009C> /x9c STRING TERMINATOR (ST)
<U009D> /x9d OPERATING SYSTEM COMMAND (OSC)
<U009E> /x9e PRIVACY MESSAGE (PM)
<U009F> /x9f APPLICATION PROGRAM COMMAND (APC)
<U00A0> /xa0 NO-BREAK SPACE
<U017D> /xa1 LATIN CAPITAL LETTER Z WITH CARON
<U00A2> /xa2 CENT SIGN
<U00A3> /xa3 POUND SIGN
<U20AC> /xa4 EURO SIGN
<U00A5> /xa5 YEN SIGN
<U012C> /xa6 LATIN CAPITAL LETTER I WITH BREVE
<U00A7> /xa7 SECTION SIGN
<U016C> /xa8 LATIN CAPITAL LETTER U WITH BREVE
<U00A9> /xa9 COPYRIGHT SIGN
<U01E6> /xaa LATIN CAPITAL LETTER G WITH CARON
<U00AB> /xab LEFT-POINTING DOUBLE ANGLE QUOTATION MARK
<U014A> /xac LATIN CAPITAL LETTER ENG
<U00AD> /xad SOFT HYPHEN
<U00AE> /xae REGISTERED SIGN
<U01D1> /xaf LATIN CAPITAL LETTER O WITH CARON
<U00B0> /xb0 DEGREE SIGN
<U017E> /xb1 LATIN SMALL LETTER Z WITH CARON
<U00B2> /xb2 SUPERSCRIPT TWO
<U00B3> /xb3 SUPERSCRIPT THREE
<U00B4> /xb4 ACUTE ACCENT
<U00B5> /xb5 MICRO SIGN
<U012D> /xb6 LATIN SMALL LETTER I WITH BREVE
<U00B7> /xb7 MIDDLE DOT
<U016D> /xb8 LATIN SMALL LETTER U WITH BREVE
<U00B9> /xb9 SUPERSCRIPT ONE
<U01E7> /xba LATIN SMALL LETTER G WITH CARON
<U00BB> /xbb RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK
<U014B> /xbc LATIN SMALL LETTER ENG
<U00BD> /xbd VULGAR FRACTION ONE HALF
<U0178> /xbe LATIN CAPITAL LETTER Y WITH DIAERESIS
<U01D2> /xbf LATIN SMALL LETTER O WITH CARON
<U00C0> /xc0 LATIN CAPITAL LETTER A WITH GRAVE
<U00C1> /xc1 LATIN CAPITAL LETTER A WITH ACUTE
<U00C2> /xc2 LATIN CAPITAL LETTER A WITH CIRCUMFLEX
<U00C3> /xc3 LATIN CAPITAL LETTER A WITH TILDE
<U00C4> /xc4 LATIN CAPITAL LETTER A WITH DIAERESIS
<U00C5> /xc5 LATIN CAPITAL LETTER A WITH RING ABOVE
<U018F> /xc6 LATIN CAPITAL LETTER SCHWA
<U00C7> /xc7 LATIN CAPITAL LETTER C WITH CEDILLA
<U00C8> /xc8 LATIN CAPITAL LETTER E WITH GRAVE
<U00C9> /xc9 LATIN CAPITAL LETTER E WITH ACUTE
<U00CA> /xca LATIN CAPITAL LETTER E WITH CIRCUMFLEX
<U00CB> /xcb LATIN CAPITAL LETTER E WITH DIAERESIS
<U00CC> /xcc LATIN CAPITAL LETTER I WITH GRAVE
<U00CD> /xcd LATIN CAPITAL LETTER I WITH ACUTE
<U00CE> /xce LATIN CAPITAL LETTER I WITH CIRCUMFLEX
<U00CF> /xcf LATIN CAPITAL LETTER I WITH DIAERESIS
<U011E> /xd0 LATIN CAPITAL LETTER G WITH BREVE
<U00D1> /xd1 LATIN CAPITAL LETTER N WITH TILDE
<U00D2> /xd2 LATIN CAPITAL LETTER O WITH GRAVE
<U00D3> /xd3 LATIN CAPITAL LETTER O WITH ACUTE
<U00D4> /xd4 LATIN CAPITAL LETTER O WITH CIRCUMFLEX
<U00D5> /xd5 LATIN CAPITAL LETTER O WITH TILDE
<U00D6> /xd6 LATIN CAPITAL LETTER O WITH DIAERESIS
<U00DD> /xd7 LATIN CAPITAL LETTER Y WITH ACUTE
<U019F> /xd8 LATIN CAPITAL LETTER BARRED O
<U00D9> /xd9 LATIN CAPITAL LETTER U WITH GRAVE
<U00DA> /xda LATIN CAPITAL LETTER U WITH ACUTE
<U00DB> /xdb LATIN CAPITAL LETTER U WITH CIRCUMFLEX
<U00DC> /xdc LATIN CAPITAL LETTER U WITH DIAERESIS
<U0130> /xdd LATIN CAPITAL LETTER I WITH DOT ABOVE
<U015E> /xde LATIN CAPITAL LETTER S WITH CEDILLA
<U00DF> /xdf LATIN SMALL LETTER SHARP S (German)
<U00E0> /xe0 LATIN SMALL LETTER A WITH GRAVE
<U00E1> /xe1 LATIN SMALL LETTER A WITH ACUTE
<U00E2> /xe2 LATIN SMALL LETTER A WITH CIRCUMFLEX
<U00E3> /xe3 LATIN SMALL LETTER A WITH TILDE
<U00E4> /xe4 LATIN SMALL LETTER A WITH DIAERESIS
<U00E5> /xe5 LATIN SMALL LETTER A WITH RING ABOVE
<U0259> /xe6 LATIN SMALL LETTER SCHWA
<U00E7> /xe7 LATIN SMALL LETTER C WITH CEDILLA
<U00E8> /xe8 LATIN SMALL LETTER E WITH GRAVE
<U00E9> /xe9 LATIN SMALL LETTER E WITH ACUTE
<U00EA> /xea LATIN SMALL LETTER E WITH CIRCUMFLEX
<U00EB> /xeb LATIN SMALL LETTER E WITH DIAERESIS
<U00EC> /xec LATIN SMALL LETTER I WITH GRAVE
<U00ED> /xed LATIN SMALL LETTER I WITH ACUTE
<U00EE> /xee LATIN SMALL LETTER I WITH CIRCUMFLEX
<U00EF> /xef LATIN SMALL LETTER I WITH DIAERESIS
<U011F> /xf0 LATIN SMALL LETTER G WITH BREVE
<U00F1> /xf1 LATIN SMALL LETTER N WITH TILDE
<U00F2> /xf2 LATIN SMALL LETTER O WITH GRAVE
<U00F3> /xf3 LATIN SMALL LETTER O WITH ACUTE
<U00F4> /xf4 LATIN SMALL LETTER O WITH CIRCUMFLEX
<U00F5> /xf5 LATIN SMALL LETTER O WITH TILDE
<U00F6> /xf6 LATIN SMALL LETTER O WITH DIAERESIS
<U00FD> /xf7 LATIN SMALL LETTER Y WITH ACUTE
<U0275> /xf8 LATIN SMALL LETTER BARRED O
<U00F9> /xf9 LATIN SMALL LETTER U WITH GRAVE
<U00FA> /xfa LATIN SMALL LETTER U WITH ACUTE
<U00FB> /xfb LATIN SMALL LETTER U WITH CIRCUMFLEX
<U00FC> /xfc LATIN SMALL LETTER U WITH DIAERESIS
<U0131> /xfd LATIN SMALL LETTER DOTLESS I
<U015F> /xfe LATIN SMALL LETTER S WITH CEDILLA
<U00FF> /xff LATIN SMALL LETTER Y WITH DIAERESIS
END CHARMAP