about summary refs log tree commit diff
path: root/iconvdata/ibm1046.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-10-31 08:24:06 +0000
committerUlrich Drepper <drepper@redhat.com>2000-10-31 08:24:06 +0000
commitdbd10df75f4d1880f2b1191e4b3f7e1f8b477e31 (patch)
tree9602da070f51271fee427fc2ceb6b55a4097214e /iconvdata/ibm1046.c
parentbeaaf574bfe6cb503269970fc53ebeacf63eae57 (diff)
downloadglibc-dbd10df75f4d1880f2b1191e4b3f7e1f8b477e31.tar.gz
glibc-dbd10df75f4d1880f2b1191e4b3f7e1f8b477e31.tar.xz
glibc-dbd10df75f4d1880f2b1191e4b3f7e1f8b477e31.zip
Update.
2000-10-31  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/Makefile (modules): Add IBM856, IBM930, IBM933, IBM935,
	IBM937, IBM939, and IBM1046.
	(distribute): Add ibm856.c, ibm930.c, ibm933.c, ibm935.c, ibm937.c,
	ibm939.c, ibm1046.c, ibm856.h, ibm930.h, ibm933.h, ibm935.h, ibm937.h,
	ibm939.h, and ibm1046.h.
	* iconvdata/gconv-modules: Add entries for IBM856, IBM930, IBM933,
	IBM935, IBM937, IBM939, and IBM1046.
	Patches by Masahide Washizawa <washi@yamato.ibm.co.jp>.
Diffstat (limited to 'iconvdata/ibm1046.c')
-rw-r--r--iconvdata/ibm1046.c29
1 files changed, 29 insertions, 0 deletions
diff --git a/iconvdata/ibm1046.c b/iconvdata/ibm1046.c
new file mode 100644
index 0000000000..b9406a4f23
--- /dev/null
+++ b/iconvdata/ibm1046.c
@@ -0,0 +1,29 @@
+/* Conversion from and to IBM1046.
+   Copyright (C) 2000 Free Software Foundation, Inc.
+   This file is part of the GNU C Library.
+   Contributed by Masahide Washizawa <washi@yamato.ibm.co.jp>, 2000.
+
+   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>
+
+/* Get the conversion table.  */
+#define TABLES <ibm1046.h>
+
+#define CHARSET_NAME	"IBM1046//"
+#define HAS_HOLES	1	/* Not all 256 character are defined.  */
+
+#include <8bit-gap.c>