aboutsummaryrefslogtreecommitdiff
path: root/iconvdata
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2007-09-30 04:00:26 +0000
committerUlrich Drepper <drepper@redhat.com>2007-09-30 04:00:26 +0000
commit8ad5c3cd013f283f754b3568d1648a21b4323d5d (patch)
tree0403a71fc8fd3e42f9b477fd62b4ea8be702bfff /iconvdata
parent6c522e2191858cf5c5d04dde46c2f6fdd4bfe065 (diff)
downloadglibc-8ad5c3cd013f283f754b3568d1648a21b4323d5d.zip
glibc-8ad5c3cd013f283f754b3568d1648a21b4323d5d.tar.gz
glibc-8ad5c3cd013f283f754b3568d1648a21b4323d5d.tar.bz2
* 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.
Diffstat (limited to 'iconvdata')
-rw-r--r--iconvdata/Makefile7
-rw-r--r--iconvdata/TESTS1
-rw-r--r--iconvdata/gconv-modules7
-rw-r--r--iconvdata/iso8859-9e.c28
-rwxr-xr-xiconvdata/tst-tables.sh1
5 files changed, 41 insertions, 3 deletions
diff --git a/iconvdata/Makefile b/iconvdata/Makefile
index 8256bca..bf52d52 100644
--- a/iconvdata/Makefile
+++ b/iconvdata/Makefile
@@ -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 \
diff --git a/iconvdata/TESTS b/iconvdata/TESTS
index 4e1fdcd..9284b44 100644
--- a/iconvdata/TESTS
+++ b/iconvdata/TESTS
@@ -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
diff --git a/iconvdata/gconv-modules b/iconvdata/gconv-modules
index ae4cf5f..a8fcd8f 100644
--- a/iconvdata/gconv-modules
+++ b/iconvdata/gconv-modules
@@ -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
diff --git a/iconvdata/iso8859-9e.c b/iconvdata/iso8859-9e.c
new file mode 100644
index 0000000..7048eda
--- /dev/null
+++ b/iconvdata/iso8859-9e.c
@@ -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>
diff --git a/iconvdata/tst-tables.sh b/iconvdata/tst-tables.sh
index b9eecd0..f240e51 100755
--- a/iconvdata/tst-tables.sh
+++ b/iconvdata/tst-tables.sh
@@ -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