aboutsummaryrefslogtreecommitdiff
path: root/iconvdata
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-11-29 07:43:03 +0000
committerUlrich Drepper <drepper@redhat.com>2001-11-29 07:43:03 +0000
commit03a2c6475bd251773ddce5e9e5bb9b8d4c0baeab (patch)
treee3b83e302b2f166d9520df5dcfa0195fe051c2ba /iconvdata
parente0e86ccb1d2848678b5c32f65bf6239ba5fb9d24 (diff)
downloadglibc-03a2c6475bd251773ddce5e9e5bb9b8d4c0baeab.tar.xz
glibc-03a2c6475bd251773ddce5e9e5bb9b8d4c0baeab.zip
Update.
* iconvdata/ibm1163.c: New file. * iconvdata/ibm1163.h: New file. * iconvdata/ibm1164.c: New file. * iconvdata/ibm1164.h: New file. * iconvdata/TESTS: Add entries for IBM1163 and IBM1164. * iconvdata/Makefile: Likewise. * iconvdata/testdata/IBM1163: New file. * iconvdata/testdata/IBM1163..UTF8: New file. * iconvdata/testdata/IBM1164: New file. * iconvdata/testdata/IBM1164..UTF8: New file. Patch by Masahide Washizawa <WASHI@jp.ibm.com>. * iconvdata/ibm1046.h: Optimize. Remove duplicate mappings. * iconvdata/ibm1124.h: Likewise. * iconvdata/ibm1132.h: Likewise. * iconvdata/ibm1133.h: Likewise. * iconvdata/ibm1160.h: Likewise. * iconvdata/ibm1161.h: Likewise. * iconvdata/ibm1162.h: Likewise. * iconvdata/ibm856.h: Likewise. * iconvdata/ibm922.h: Likewise. * iconvdata/ibm930.h: Likewise. * iconvdata/ibm932.h: Likewise. * iconvdata/ibm933.h: Likewise. * iconvdata/ibm935.h: Likewise. * iconvdata/ibm937.h: Likewise. * iconvdata/ibm939.h: Likewise. * iconvdata/ibm943.h: Likewise. * iconvdata/ibm930.c: Pretty printing. * iconvdata/ibm937.c: Avoid access accross array boundary.
Diffstat (limited to 'iconvdata')
-rw-r--r--iconvdata/Makefile8
-rw-r--r--iconvdata/TESTS2
-rw-r--r--iconvdata/ibm1046.h17
-rw-r--r--iconvdata/ibm1124.h16
-rw-r--r--iconvdata/ibm1132.h15
-rw-r--r--iconvdata/ibm1133.h15
-rw-r--r--iconvdata/ibm1160.h14
-rw-r--r--iconvdata/ibm1161.h14
-rw-r--r--iconvdata/ibm1162.h14
-rw-r--r--iconvdata/ibm1163.c29
-rw-r--r--iconvdata/ibm1163.h142
-rw-r--r--iconvdata/ibm1164.c29
-rw-r--r--iconvdata/ibm1164.h142
-rw-r--r--iconvdata/ibm856.h18
-rw-r--r--iconvdata/ibm922.h75
-rw-r--r--iconvdata/ibm930.c2
-rw-r--r--iconvdata/ibm930.h4
-rw-r--r--iconvdata/ibm932.h4
-rw-r--r--iconvdata/ibm933.h2
-rw-r--r--iconvdata/ibm935.h2
-rw-r--r--iconvdata/ibm937.c4
-rw-r--r--iconvdata/ibm937.h27
-rw-r--r--iconvdata/ibm939.h2
-rw-r--r--iconvdata/ibm943.h4
-rw-r--r--iconvdata/testdata/IBM116314
-rw-r--r--iconvdata/testdata/IBM1163..UTF814
-rw-r--r--iconvdata/testdata/IBM116414
-rw-r--r--iconvdata/testdata/IBM1164..UTF82
28 files changed, 450 insertions, 195 deletions
diff --git a/iconvdata/Makefile b/iconvdata/Makefile
index 8cfd25e918..2070391af8 100644
--- a/iconvdata/Makefile
+++ b/iconvdata/Makefile
@@ -39,7 +39,7 @@ modules := ISO8859-1 ISO8859-2 ISO8859-3 ISO8859-4 ISO8859-5 \
IBM862 IBM863 IBM864 IBM865 IBM868 IBM869 IBM875 IBM880 \
IBM866 CP1258 IBM922 IBM1124 IBM1129 IBM932 IBM943 \
IBM856 IBM930 IBM933 IBM935 IBM937 IBM939 IBM1046 \
- IBM1132 IBM1133 IBM1162 \
+ IBM1132 IBM1133 IBM1160 IBM1161 IBM1162 IBM1163 IBM1164 \
IBM918 IBM1004 IBM1026 CP1250 CP1251 CP1252 CP1253 CP1254 \
CP1255 CP1256 CP1257 ISO-2022-JP MACINTOSH IEC_P27-1 \
ASMO_449 ANSI_X3.110 CSN_369103 CWI DEC-MCS ECMA-CYRILLIC \
@@ -49,8 +49,7 @@ modules := ISO8859-1 ISO8859-2 ISO8859-3 ISO8859-4 ISO8859-5 \
SAMI-WS2 ISO-IR-197 TIS-620 KOI8-U GBK ISIRI-3342 GBGBK \
ISO-2022-CN libISOIR165 UTF-16 UNICODE UTF-32 UTF-7 BIG5HKSCS \
GB18030 ISO-2022-CN-EXT VISCII GBBIG5 CP10007 KOI8-T \
- GEORGIAN-PS GEORGIAN-ACADEMY ISO-IR-209 MAC-SAMI IBM1160 \
- IBM1161
+ GEORGIAN-PS GEORGIAN-ACADEMY ISO-IR-209 MAC-SAMI
modules.so := $(addsuffix .so, $(modules))
@@ -143,7 +142,8 @@ distribute := gconv-modules extra-module.mk gap.awk gaptab.awk \
iso-ir-165.c iso-ir-165.h gb18030.c iso-2022-cn-ext.c \
ibm932.c ibm932.h ibm943.c ibm943.h gbbig5.c cp10007.c \
koi8-t.c georgian-ps.c georgian-academy.c iso-ir-209.c \
- mac-sami.c ibm1160.c ibm1160.h ibm1161.c ibm1161.h
+ mac-sami.c ibm1160.c ibm1160.h ibm1161.c ibm1161.h \
+ ibm1163.c ibm1163.h ibm1164.c ibm1164.h
# We build the transformation modules only when we build shared libs.
ifeq (yes,$(build-shared))
diff --git a/iconvdata/TESTS b/iconvdata/TESTS
index 807b1bc837..c2a7cff628 100644
--- a/iconvdata/TESTS
+++ b/iconvdata/TESTS
@@ -109,3 +109,5 @@ IBM1161 IBM1161 Y UTF8
IBM1132 IBM1132 N UTF8
IBM1133 IBM1133 Y UTF8
IBM1162 IBM1162 Y UTF8
+IBM1163 IBM1163 Y UTF8
+IBM1164 IBM1164 N UTF8
diff --git a/iconvdata/ibm1046.h b/iconvdata/ibm1046.h
index b5cc0ea476..fe7d1f0033 100644
--- a/iconvdata/ibm1046.h
+++ b/iconvdata/ibm1046.h
@@ -1,5 +1,5 @@
/* Tables for conversion from and to IBM1046.
- Copyright (C) 2000 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Masahide Washizawa <washi@yamato.ibm.co.jp>, 2000.
@@ -112,9 +112,6 @@ static const struct gap from_idx[] =
{ start: 0xfe70, end: 0xfe72, idx: -64932 },
{ start: 0xfe74, end: 0xfe74, idx: -64933 },
{ start: 0xfe76, end: 0xfefc, idx: -64934 },
- { start: 0xff01, end: 0xff5e, idx: -64938 },
- { start: 0xffe8, end: 0xffe8, idx: -65075 },
- { start: 0xffed, end: 0xffed, idx: -65079 },
{ start: 0xffff, end: 0xffff, idx: 0 }
};
@@ -158,15 +155,5 @@ static const char from_ucs4[] =
'\xe5', '\xe5', '\xfb', '\xfb', '\xe6', '\xe6', '\xfc', '\xfc', '\xfe',
'\xfe', '\xe7', '\xfd', '\xe8', '\xe8', '\xe9', '\x96', '\xea', '\x98',
'\x97', '\x97', '\xf7', '\x9c', '\xf8', '\x9d', '\xf9', '\x9e', '\xfa',
- '\x9f', '\x21', '\x22', '\x23', '\x24', '\x25', '\x26', '\x27', '\x28',
- '\x29', '\x2a', '\x2b', '\x2c', '\x2d', '\x2e', '\x2f', '\x30', '\x31',
- '\x32', '\x33', '\x34', '\x35', '\x36', '\x37', '\x38', '\x39', '\x3a',
- '\x3b', '\x3c', '\x3d', '\x3e', '\x3f', '\x40', '\x41', '\x42', '\x43',
- '\x44', '\x45', '\x46', '\x47', '\x48', '\x49', '\x4a', '\x4b', '\x4c',
- '\x4d', '\x4e', '\x4f', '\x50', '\x51', '\x52', '\x53', '\x54', '\x55',
- '\x56', '\x57', '\x58', '\x59', '\x5a', '\x5b', '\x5c', '\x5d', '\x5e',
- '\x5f', '\x60', '\x61', '\x62', '\x63', '\x64', '\x65', '\x66', '\x67',
- '\x68', '\x69', '\x6a', '\x6b', '\x6c', '\x6d', '\x6e', '\x6f', '\x70',
- '\x71', '\x72', '\x73', '\x74', '\x75', '\x76', '\x77', '\x78', '\x79',
- '\x7a', '\x7b', '\x7c', '\x7d', '\x7e', '\x8a', '\x89'
+ '\x9f'
};
diff --git a/iconvdata/ibm1124.h b/iconvdata/ibm1124.h
index 2d646f0f8f..d3f0b842dc 100644
--- a/iconvdata/ibm1124.h
+++ b/iconvdata/ibm1124.h
@@ -1,5 +1,5 @@
/* Conversion from and to IBM1124.
- Copyright (C) 2000 Free Software Foundation, Inc.
+ Copyright (C) 2000, 2001 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Masahide Washizawa <washi@jp.ibm.com>, 2000.
@@ -93,7 +93,6 @@ static const struct gap from_idx[] =
{ start: 0x0401, end: 0x045f, idx: -857 },
{ start: 0x0490, end: 0x0491, idx: -905 },
{ start: 0x2116, end: 0x2116, idx: -8205 },
- { start: 0xff01, end: 0xff5e, idx: -65015 },
{ start: 0xffff, end: 0xffff, idx: 0 }
};
@@ -132,16 +131,5 @@ static const char from_ucs4[] =
'\xe9', '\xea', '\xeb', '\xec', '\xed', '\xee', '\xef', '\x00',
'\xf1', '\xf2', '\x00', '\xf4', '\xf5', '\xf6', '\xf7', '\xf8',
'\xf9', '\xfa', '\xfb', '\xfc', '\x00', '\xfe', '\xff', '\xa3',
- '\xf3', '\xf0', '\x21', '\x22', '\x23', '\x24', '\x25', '\x26',
- '\x27', '\x28', '\x29', '\x2a', '\x2b', '\x2c', '\x2d', '\x2e',
- '\x2f', '\x30', '\x31', '\x32', '\x33', '\x34', '\x35', '\x36',
- '\x37', '\x38', '\x39', '\x3a', '\x3b', '\x3c', '\x3d', '\x3e',
- '\x3f', '\x40', '\x41', '\x42', '\x43', '\x44', '\x45', '\x46',
- '\x47', '\x48', '\x49', '\x4a', '\x4b', '\x4c', '\x4d', '\x4e',
- '\x4f', '\x50', '\x51', '\x52', '\x53', '\x54', '\x55', '\x56',
- '\x57', '\x58', '\x59', '\x5a', '\x5b', '\x5c', '\x5d', '\x5e',
- '\x5f', '\x60', '\x61', '\x62', '\x63', '\x64', '\x65', '\x66',
- '\x67', '\x68', '\x69', '\x6a', '\x6b', '\x6c', '\x6d', '\x6e',
- '\x6f', '\x70', '\x71', '\x72', '\x73', '\x74', '\x75', '\x76',
- '\x77', '\x78', '\x79', '\x7a', '\x7b', '\x7c', '\x7d', '\x7e',
+ '\xf3', '\xf0'
};
diff --git a/iconvdata/ibm1132.h b/iconvdata/ibm1132.h
index 27e59d81cf..b95e4beb55 100644
--- a/iconvdata/ibm1132.h
+++ b/iconvdata/ibm1132.h
@@ -85,7 +85,6 @@ static const struct gap from_idx[] =
{ start: 0x0000, end: 0x00ac, idx: 0 },
{ start: 0x0e81, end: 0x0e8d, idx: -3540 },
{ start: 0x0e94, end: 0x0edd, idx: -3546 },
- { start: 0xff01, end: 0xff5e, idx: -65021 },
{ start: 0xffff, end: 0xffff, idx: 0 }
};
@@ -123,17 +122,5 @@ static const char from_ucs4[] =
'\xbd', '\xbe', '\xbf', '\x00', '\xdb', '\x00', '\xcb', '\xcc',
'\xcd', '\xce', '\xcf', '\xda', '\x00', '\x00', '\xb0', '\xb1',
'\xb2', '\xb3', '\xb4', '\xb5', '\xb6', '\xb7', '\xb8', '\xb9',
- '\x00', '\x00', '\xdd', '\xde', '\x5a', '\x7f', '\x7b', '\x5b',
- '\x6c', '\x50', '\x7d', '\x4d', '\x5d', '\x5c', '\x4e', '\x6b',
- '\x60', '\x4b', '\x61', '\xf0', '\xf1', '\xf2', '\xf3', '\xf4',
- '\xf5', '\xf6', '\xf7', '\xf8', '\xf9', '\x7a', '\x5e', '\x4c',
- '\x7e', '\x6e', '\x6f', '\x7c', '\xc1', '\xc2', '\xc3', '\xc4',
- '\xc5', '\xc6', '\xc7', '\xc8', '\xc9', '\xd1', '\xd2', '\xd3',
- '\xd4', '\xd5', '\xd6', '\xd7', '\xd8', '\xd9', '\xe2', '\xe3',
- '\xe4', '\xe5', '\xe6', '\xe7', '\xe8', '\xe9', '\x49', '\xe0',
- '\x59', '\x69', '\x6d', '\x79', '\x81', '\x82', '\x83', '\x84',
- '\x85', '\x86', '\x87', '\x88', '\x89', '\x91', '\x92', '\x93',
- '\x94', '\x95', '\x96', '\x97', '\x98', '\x99', '\xa2', '\xa3',
- '\xa4', '\xa5', '\xa6', '\xa7', '\xa8', '\xa9', '\xc0', '\x4f',
- '\xd0', '\xa1'
+ '\x00', '\x00', '\xdd', '\xde'
};
diff --git a/iconvdata/ibm1133.h b/iconvdata/ibm1133.h
index 34ba3a7d06..7939ecfb72 100644
--- a/iconvdata/ibm1133.h
+++ b/iconvdata/ibm1133.h
@@ -85,7 +85,6 @@ static const struct gap from_idx[] =
{ start: 0x0000, end: 0x00ac, idx: 0 },
{ start: 0x0e81, end: 0x0e8d, idx: -3540 },
{ start: 0x0e94, end: 0x0edd, idx: -3546 },
- { start: 0xff01, end: 0xff5e, idx: -65021 },
{ start: 0xffff, end: 0xffff, idx: 0 }
};
@@ -123,17 +122,5 @@ static const char from_ucs4[] =
'\xd2', '\xd3', '\xd4', '\x00', '\xdb', '\x00', '\xd5', '\xd6',
'\xd7', '\xd8', '\xd9', '\xda', '\x00', '\x00', '\xf0', '\xf1',
'\xf2', '\xf3', '\xf4', '\xf5', '\xf6', '\xf7', '\xf8', '\xf9',
- '\x00', '\x00', '\xdd', '\xde', '\x21', '\x22', '\x23', '\x24',
- '\x25', '\x26', '\x27', '\x28', '\x29', '\x2a', '\x2b', '\x2c',
- '\x2d', '\x2e', '\x2f', '\x30', '\x31', '\x32', '\x33', '\x34',
- '\x35', '\x36', '\x37', '\x38', '\x39', '\x3a', '\x3b', '\x3c',
- '\x3d', '\x3e', '\x3f', '\x40', '\x41', '\x42', '\x43', '\x44',
- '\x45', '\x46', '\x47', '\x48', '\x49', '\x4a', '\x4b', '\x4c',
- '\x4d', '\x4e', '\x4f', '\x50', '\x51', '\x52', '\x53', '\x54',
- '\x55', '\x56', '\x57', '\x58', '\x59', '\x5a', '\x5b', '\x5c',
- '\x5d', '\x5e', '\x5f', '\x60', '\x61', '\x62', '\x63', '\x64',
- '\x65', '\x66', '\x67', '\x68', '\x69', '\x6a', '\x6b', '\x6c',
- '\x6d', '\x6e', '\x6f', '\x70', '\x71', '\x72', '\x73', '\x74',
- '\x75', '\x76', '\x77', '\x78', '\x79', '\x7a', '\x7b', '\x7c',
- '\x7d', '\x7e'
+ '\x00', '\x00', '\xdd', '\xde'
};
diff --git a/iconvdata/ibm1160.h b/iconvdata/ibm1160.h
index 700ad84776..7bc8934875 100644
--- a/iconvdata/ibm1160.h
+++ b/iconvdata/ibm1160.h
@@ -91,7 +91,6 @@ static const struct gap from_idx[] =
{ start: 0x0000, end: 0x00ac, idx: 0 },
{ start: 0x0e01, end: 0x0e5b, idx: -3412 },
{ start: 0x20ac, end: 0x20ac, idx: -8100 },
- { start: 0xff01, end: 0xff5e, idx: -65016 },
{ start: 0xffff, end: 0xffff, idx: 0 }
};
@@ -130,16 +129,5 @@ static const char from_ucs4[] =
'\xdf', '\xea', '\xeb', '\xec', '\xed', '\xee', '\xef', '\xfa',
'\xfb', '\xfc', '\x71', '\x80', '\xb0', '\xb1', '\xb2', '\xb3',
'\xb4', '\xb5', '\xb6', '\xb7', '\xb8', '\xb9', '\x90', '\xa0',
- '\xfe', '\x5a', '\x7f', '\x7b', '\x5b', '\x6c', '\x50', '\x7d',
- '\x4d', '\x5d', '\x5c', '\x4e', '\x6b', '\x60', '\x4b', '\x61',
- '\xf0', '\xf1', '\xf2', '\xf3', '\xf4', '\xf5', '\xf6', '\xf7',
- '\xf8', '\xf9', '\x7a', '\x5e', '\x4c', '\x7e', '\x6e', '\x6f',
- '\x7c', '\xc1', '\xc2', '\xc3', '\xc4', '\xc5', '\xc6', '\xc7',
- '\xc8', '\xc9', '\xd1', '\xd2', '\xd3', '\xd4', '\xd5', '\xd6',
- '\xd7', '\xd8', '\xd9', '\xe2', '\xe3', '\xe4', '\xe5', '\xe6',
- '\xe7', '\xe8', '\xe9', '\x49', '\xe0', '\x59', '\x69', '\x6d',
- '\x79', '\x81', '\x82', '\x83', '\x84', '\x85', '\x86', '\x87',
- '\x88', '\x89', '\x91', '\x92', '\x93', '\x94', '\x95', '\x96',
- '\x97', '\x98', '\x99', '\xa2', '\xa3', '\xa4', '\xa5', '\xa6',
- '\xa7', '\xa8', '\xa9', '\xc0', '\x4f', '\xd0', '\xa1'
+ '\xfe'
};
diff --git a/iconvdata/ibm1161.h b/iconvdata/ibm1161.h
index ef7dfe5713..b29f5c4939 100644
--- a/iconvdata/ibm1161.h
+++ b/iconvdata/ibm1161.h
@@ -84,7 +84,6 @@ static const struct gap from_idx[] =
{ start: 0x00a0, end: 0x00ac, idx: -32 },
{ start: 0x0e01, end: 0x0e5b, idx: -3444 },
{ start: 0x20ac, end: 0x20ac, idx: -8132 },
- { start: 0xff01, end: 0xff5e, idx: -65048 },
{ start: 0xffff, end: 0xffff, idx: 0 }
};
@@ -119,16 +118,5 @@ static const char from_ucs4[] =
'\xe4', '\xe5', '\xe6', '\xe7', '\xe8', '\xe9', '\xea', '\xeb',
'\xec', '\xed', '\xee', '\xef', '\xf0', '\xf1', '\xf2', '\xf3',
'\xf4', '\xf5', '\xf6', '\xf7', '\xf8', '\xf9', '\xfa', '\xfb',
- '\xde', '\x21', '\x22', '\x23', '\x24', '\x25', '\x26', '\x27',
- '\x28', '\x29', '\x2a', '\x2b', '\x2c', '\x2d', '\x2e', '\x2f',
- '\x30', '\x31', '\x32', '\x33', '\x34', '\x35', '\x36', '\x37',
- '\x38', '\x39', '\x3a', '\x3b', '\x3c', '\x3d', '\x3e', '\x3f',
- '\x40', '\x41', '\x42', '\x43', '\x44', '\x45', '\x46', '\x47',
- '\x48', '\x49', '\x4a', '\x4b', '\x4c', '\x4d', '\x4e', '\x4f',
- '\x50', '\x51', '\x52', '\x53', '\x54', '\x55', '\x56', '\x57',
- '\x58', '\x59', '\x5a', '\x5b', '\x5c', '\x5d', '\x5e', '\x5f',
- '\x60', '\x61', '\x62', '\x63', '\x64', '\x65', '\x66', '\x67',
- '\x68', '\x69', '\x6a', '\x6b', '\x6c', '\x6d', '\x6e', '\x6f',
- '\x70', '\x71', '\x72', '\x73', '\x74', '\x75', '\x76', '\x77',
- '\x78', '\x79', '\x7a', '\x7b', '\x7c', '\x7d', '\x7e'
+ '\xde'
};
diff --git a/iconvdata/ibm1162.h b/iconvdata/ibm1162.h
index 73c832190d..833cada24d 100644
--- a/iconvdata/ibm1162.h
+++ b/iconvdata/ibm1162.h
@@ -91,7 +91,6 @@ static const struct gap from_idx[] =
{ start: 0x0e01, end: 0x0e5b, idx: -3431 },
{ start: 0x2013, end: 0x2026, idx: -7966 },
{ start: 0x20ac, end: 0x20ac, idx: -8099 },
- { start: 0xff01, end: 0xff5e, idx: -65015 },
{ start: 0xffff, end: 0xffff, idx: 0 }
};
@@ -130,16 +129,5 @@ static const char from_ucs4[] =
'\xf7', '\xf8', '\xf9', '\xfa', '\xfb', '\x96', '\x97', '\x00',
'\x00', '\x00', '\x91', '\x92', '\x00', '\x00', '\x93', '\x94',
'\x00', '\x00', '\x00', '\x00', '\x95', '\x00', '\x00', '\x00',
- '\x85', '\x80', '\x21', '\x22', '\x23', '\x24', '\x25', '\x26',
- '\x27', '\x28', '\x29', '\x2a', '\x2b', '\x2c', '\x2d', '\x2e',
- '\x2f', '\x30', '\x31', '\x32', '\x33', '\x34', '\x35', '\x36',
- '\x37', '\x38', '\x39', '\x3a', '\x3b', '\x3c', '\x3d', '\x3e',
- '\x3f', '\x40', '\x41', '\x42', '\x43', '\x44', '\x45', '\x46',
- '\x47', '\x48', '\x49', '\x4a', '\x4b', '\x4c', '\x4d', '\x4e',
- '\x4f', '\x50', '\x51', '\x52', '\x53', '\x54', '\x55', '\x56',
- '\x57', '\x58', '\x59', '\x5a', '\x5b', '\x5c', '\x5d', '\x5e',
- '\x5f', '\x60', '\x61', '\x62', '\x63', '\x64', '\x65', '\x66',
- '\x67', '\x68', '\x69', '\x6a', '\x6b', '\x6c', '\x6d', '\x6e',
- '\x6f', '\x70', '\x71', '\x72', '\x73', '\x74', '\x75', '\x76',
- '\x77', '\x78', '\x79', '\x7a', '\x7b', '\x7c', '\x7d', '\x7e'
+ '\x85', '\x80'
};
diff --git a/iconvdata/ibm1163.c b/iconvdata/ibm1163.c
new file mode 100644
index 0000000000..35c4eaf318
--- /dev/null
+++ b/iconvdata/ibm1163.c
@@ -0,0 +1,29 @@
+/* Conversion from and to IBM1163.
+ Copyright (C) 2001 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+ Contributed by Masahide Washizawa <washi@jp.ibm.com>, 2001.
+
+ 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 <ibm1163.h>
+
+#define CHARSET_NAME "IBM1163//"
+#define HAS_HOLES 0 /* All 256 character are defined. */
+
+#include <8bit-gap.c>
diff --git a/iconvdata/ibm1163.h b/iconvdata/ibm1163.h
new file mode 100644
index 0000000000..adb031abc0
--- /dev/null
+++ b/iconvdata/ibm1163.h
@@ -0,0 +1,142 @@
+/* Mapping table for IBM1163.
+ Copyright (C) 2001 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+ Contributed by Masahide Washizawa <washi@jp.ibm.com>, 2001.
+
+ 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. */
+
+static const uint32_t to_ucs4[256] =
+{
+ [0x00] = 0x0000, [0x01] = 0x0001, [0x02] = 0x0002, [0x03] = 0x0003,
+ [0x04] = 0x0004, [0x05] = 0x0005, [0x06] = 0x0006, [0x07] = 0x0007,
+ [0x08] = 0x0008, [0x09] = 0x0009, [0x0a] = 0x000a, [0x0b] = 0x000b,
+ [0x0c] = 0x000c, [0x0d] = 0x000d, [0x0e] = 0x000e, [0x0f] = 0x000f,
+ [0x10] = 0x0010, [0x11] = 0x0011, [0x12] = 0x0012, [0x13] = 0x0013,
+ [0x14] = 0x0014, [0x15] = 0x0015, [0x16] = 0x0016, [0x17] = 0x0017,
+ [0x18] = 0x0018, [0x19] = 0x0019, [0x1a] = 0x001a, [0x1b] = 0x001b,
+ [0x1c] = 0x001c, [0x1d] = 0x001d, [0x1e] = 0x001e, [0x1f] = 0x001f,
+ [0x20] = 0x0020, [0x21] = 0x0021, [0x22] = 0x0022, [0x23] = 0x0023,
+ [0x24] = 0x0024, [0x25] = 0x0025, [0x26] = 0x0026, [0x27] = 0x0027,
+ [0x28] = 0x0028, [0x29] = 0x0029, [0x2a] = 0x002a, [0x2b] = 0x002b,
+ [0x2c] = 0x002c, [0x2d] = 0x002d, [0x2e] = 0x002e, [0x2f] = 0x002f,
+ [0x30] = 0x0030, [0x31] = 0x0031, [0x32] = 0x0032, [0x33] = 0x0033,
+ [0x34] = 0x0034, [0x35] = 0x0035, [0x36] = 0x0036, [0x37] = 0x0037,
+ [0x38] = 0x0038, [0x39] = 0x0039, [0x3a] = 0x003a, [0x3b] = 0x003b,
+ [0x3c] = 0x003c, [0x3d] = 0x003d, [0x3e] = 0x003e, [0x3f] = 0x003f,
+ [0x40] = 0x0040, [0x41] = 0x0041, [0x42] = 0x0042, [0x43] = 0x0043,
+ [0x44] = 0x0044, [0x45] = 0x0045, [0x46] = 0x0046, [0x47] = 0x0047,
+ [0x48] = 0x0048, [0x49] = 0x0049, [0x4a] = 0x004a, [0x4b] = 0x004b,
+ [0x4c] = 0x004c, [0x4d] = 0x004d, [0x4e] = 0x004e, [0x4f] = 0x004f,
+ [0x50] = 0x0050, [0x51] = 0x0051, [0x52] = 0x0052, [0x53] = 0x0053,
+ [0x54] = 0x0054, [0x55] = 0x0055, [0x56] = 0x0056, [0x57] = 0x0057,
+ [0x58] = 0x0058, [0x59] = 0x0059, [0x5a] = 0x005a, [0x5b] = 0x005b,
+ [0x5c] = 0x005c, [0x5d] = 0x005d, [0x5e] = 0x005e, [0x5f] = 0x005f,
+ [0x60] = 0x0060, [0x61] = 0x0061, [0x62] = 0x0062, [0x63] = 0x0063,
+ [0x64] = 0x0064, [0x65] = 0x0065, [0x66] = 0x0066, [0x67] = 0x0067,
+ [0x68] = 0x0068, [0x69] = 0x0069, [0x6a] = 0x006a, [0x6b] = 0x006b,
+ [0x6c] = 0x006c, [0x6d] = 0x006d, [0x6e] = 0x006e, [0x6f] = 0x006f,
+ [0x70] = 0x0070, [0x71] = 0x