aboutsummaryrefslogtreecommitdiff
path: root/iconvdata
diff options
context:
space:
mode:
Diffstat (limited to 'iconvdata')
-rw-r--r--iconvdata/Makefile7
-rw-r--r--iconvdata/isiri-3342.c29
2 files changed, 33 insertions, 3 deletions
diff --git a/iconvdata/Makefile b/iconvdata/Makefile
index c827e8f532..066edbf445 100644
--- a/iconvdata/Makefile
+++ b/iconvdata/Makefile
@@ -44,7 +44,7 @@ modules := ISO8859-1 ISO8859-2 ISO8859-3 ISO8859-4 ISO8859-5 \
GOST_19768-74 GREEK-CCITT GREEK7 GREEK7-OLD INIS INIS-8 \
INIS-CYRILLIC ISO_6937-2 ISO_2033 ISO_5427 ISO_5427-EXT \
ISO_5428 ISO_10367-BOX MAC-IS MAC-UK NATS-DANO NATS-SEFI \
- SAMI-WS2 ISO-IR-197 TIS-620 KOI8-U GBK
+ SAMI-WS2 ISO-IR-197 TIS-620 KOI8-U GBK ISIRI-3342
modules.so := $(addsuffix .so, $(modules))
@@ -111,7 +111,8 @@ distribute := gconv-modules extra-module.mk gap.awk gaptab.awk \
jis0208.c jis0208.h jis0212.c jis0212.h johab.c koi-8.c \
koi8-r.c ksc5601.c ksc5601.h latin-greek.c latin-greek-1.c \
macintosh.c mac-is.c mac-uk.c nats-dano.c nats-sefi.c sjis.c \
- t.61.c uhc.c sami-ws2.c iso-ir-197.c tis-620.c koi8-u.c
+ t.61.c uhc.c sami-ws2.c iso-ir-197.c tis-620.c koi8-u.c \
+ isiri-3342.c
# We build the transformation modules only when we build shared libs.
ifeq (yes,$(build-shared))
@@ -151,7 +152,7 @@ gen-8bit-gap-modules := koi8-r latin-greek latin-greek-1 ibm256 ibm273 \
inis-cyrillic iso_2033 iso_5427 iso_5427-ext \
iso_5428 iso_10367-box mac-is nats-dano nats-sefi \
iso8859-13 iso8859-14 iso8859-15 mac-uk sami-ws2 \
- iso-ir-197 cp1258 tis-620 koi8-u ibm874
+ iso-ir-197 cp1258 tis-620 koi8-u ibm874 isiri-3342
gen-special-modules := iso8859-7jp
diff --git a/iconvdata/isiri-3342.c b/iconvdata/isiri-3342.c
new file mode 100644
index 0000000000..80f7b90d94
--- /dev/null
+++ b/iconvdata/isiri-3342.c
@@ -0,0 +1,29 @@
+/* Conversion from and to ISIRI-3342.
+ Copyright (C) 1999 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+ Contributed by Ulrich Drepper <drepper@cygnus.com>, 1999.
+
+ The GNU C Library is free software; you can redistribute it and/or
+ modify it under the terms of the GNU Library General Public License as
+ published by the Free Software Foundation; either version 2 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
+ Library General Public License for more details.
+
+ You should have received a copy of the GNU Library General Public
+ License along with the GNU C Library; see the file COPYING.LIB. If not,
+ write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+ Boston, MA 02111-1307, USA. */
+
+#include <stdint.h>
+
+/* Specify the conversion table. */
+#define TABLES <isiri-3342.h>
+
+#define CHARSET_NAME "ISIRI-3342//"
+#define HAS_HOLES 1 /* Not all 256 character are defined. */
+
+#include <8bit-gap.c>