Update.
1998-09-11 Ulrich Drepper <drepper@cygnus.com>
* iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
and ISO_5428.
Define *-routines variables for new modules.
(distribute): Add .c files for new modules.
(awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
iso_5427.h, iso_5427-ext.h, and iso_5428.h.
Add rules for hedaer generation.
* iconvdata/gconv-modules: Add entries for new modules.
* iconvdata/csn_369103.c: New file.
* iconvdata/cwi.c: New file.
* iconvdata/dec-mcs.c: New file.
* iconvdata/ecma-cyrillic.c: New file.
* iconvdata/gost_19768-74.c: New file.
* iconvdata/greek-ccitt.c: New file.
* iconvdata/greek7-old.c: New file.
* iconvdata/greek7.c: New file.
* iconvdata/inis-8.c: New file.
* iconvdata/inis-cyrillic.c: New file.
* iconvdata/inis.c: New file.
* iconvdata/iso6937-2.c: New file.
* iconvdata/iso_2033.c: New file.
* iconvdata/iso_5427-ext.c: New file.
* iconvdata/iso_5427.c: New file.
* iconvdata/iso_5428.c: New file.
* iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
entries.
Convert U02dd correctly.
* sysdeps/unix/sysv/linux/Makefile [subdir==misc]
(sysdep_headers): Remove sys/debugreg.h.
* sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
(sysdep_headers): Add sys/debugreg.h.
1998-09-11 17:55:01 +02:00
|
|
|
/* Conversion from and to CWI.
|
|
|
|
Copyright (C) 1998 Free Software Foundation, Inc.
|
|
|
|
This file is part of the GNU C Library.
|
|
|
|
Contributed by Ulrich Drepper <drepper@cygnus.com>, 1998.
|
|
|
|
|
|
|
|
The GNU C Library is free software; you can redistribute it and/or
|
2001-07-06 06:58:11 +02:00
|
|
|
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.
|
Update.
1998-09-11 Ulrich Drepper <drepper@cygnus.com>
* iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
and ISO_5428.
Define *-routines variables for new modules.
(distribute): Add .c files for new modules.
(awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
iso_5427.h, iso_5427-ext.h, and iso_5428.h.
Add rules for hedaer generation.
* iconvdata/gconv-modules: Add entries for new modules.
* iconvdata/csn_369103.c: New file.
* iconvdata/cwi.c: New file.
* iconvdata/dec-mcs.c: New file.
* iconvdata/ecma-cyrillic.c: New file.
* iconvdata/gost_19768-74.c: New file.
* iconvdata/greek-ccitt.c: New file.
* iconvdata/greek7-old.c: New file.
* iconvdata/greek7.c: New file.
* iconvdata/inis-8.c: New file.
* iconvdata/inis-cyrillic.c: New file.
* iconvdata/inis.c: New file.
* iconvdata/iso6937-2.c: New file.
* iconvdata/iso_2033.c: New file.
* iconvdata/iso_5427-ext.c: New file.
* iconvdata/iso_5427.c: New file.
* iconvdata/iso_5428.c: New file.
* iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
entries.
Convert U02dd correctly.
* sysdeps/unix/sysv/linux/Makefile [subdir==misc]
(sysdep_headers): Remove sys/debugreg.h.
* sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
(sysdep_headers): Add sys/debugreg.h.
1998-09-11 17:55:01 +02:00
|
|
|
|
|
|
|
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
|
2001-07-06 06:58:11 +02:00
|
|
|
Lesser General Public License for more details.
|
Update.
1998-09-11 Ulrich Drepper <drepper@cygnus.com>
* iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
and ISO_5428.
Define *-routines variables for new modules.
(distribute): Add .c files for new modules.
(awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
iso_5427.h, iso_5427-ext.h, and iso_5428.h.
Add rules for hedaer generation.
* iconvdata/gconv-modules: Add entries for new modules.
* iconvdata/csn_369103.c: New file.
* iconvdata/cwi.c: New file.
* iconvdata/dec-mcs.c: New file.
* iconvdata/ecma-cyrillic.c: New file.
* iconvdata/gost_19768-74.c: New file.
* iconvdata/greek-ccitt.c: New file.
* iconvdata/greek7-old.c: New file.
* iconvdata/greek7.c: New file.
* iconvdata/inis-8.c: New file.
* iconvdata/inis-cyrillic.c: New file.
* iconvdata/inis.c: New file.
* iconvdata/iso6937-2.c: New file.
* iconvdata/iso_2033.c: New file.
* iconvdata/iso_5427-ext.c: New file.
* iconvdata/iso_5427.c: New file.
* iconvdata/iso_5428.c: New file.
* iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
entries.
Convert U02dd correctly.
* sysdeps/unix/sysv/linux/Makefile [subdir==misc]
(sysdep_headers): Remove sys/debugreg.h.
* sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
(sysdep_headers): Add sys/debugreg.h.
1998-09-11 17:55:01 +02:00
|
|
|
|
2001-07-06 06:58:11 +02:00
|
|
|
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. */
|
Update.
1998-09-11 Ulrich Drepper <drepper@cygnus.com>
* iconvdata/Makefile (modules): Add CSN_369103, CWI, DEC-MCS,
ECMA-CYRILLIC, GOST_19768-74, GREEK-CCITT, GREEK7, GREEK7-OLD, INIS,
INIS-8, INIS-CYRILLIC, ISO_6937-2, ISO_2033, ISO_5427, ISO_5427-EXT,
and ISO_5428.
Define *-routines variables for new modules.
(distribute): Add .c files for new modules.
(awk-generated-headers): Add csn_369103.h, cwi.h, dec-mcs.h,
ecma-cyrillic.h, gost_19768-74.h, greek-ccitt.h, greek7.h,
greek7-old.h, inis.h, inis-8.h, inis-cyrillic.h, iso_2033.h,
iso_5427.h, iso_5427-ext.h, and iso_5428.h.
Add rules for hedaer generation.
* iconvdata/gconv-modules: Add entries for new modules.
* iconvdata/csn_369103.c: New file.
* iconvdata/cwi.c: New file.
* iconvdata/dec-mcs.c: New file.
* iconvdata/ecma-cyrillic.c: New file.
* iconvdata/gost_19768-74.c: New file.
* iconvdata/greek-ccitt.c: New file.
* iconvdata/greek7-old.c: New file.
* iconvdata/greek7.c: New file.
* iconvdata/inis-8.c: New file.
* iconvdata/inis-cyrillic.c: New file.
* iconvdata/inis.c: New file.
* iconvdata/iso6937-2.c: New file.
* iconvdata/iso_2033.c: New file.
* iconvdata/iso_5427-ext.c: New file.
* iconvdata/iso_5427.c: New file.
* iconvdata/iso_5428.c: New file.
* iconvdata/iso6937.c (from_ucs4): Correct 0x80, 0x81, and 0xb9
entries.
Convert U02dd correctly.
* sysdeps/unix/sysv/linux/Makefile [subdir==misc]
(sysdep_headers): Remove sys/debugreg.h.
* sysdeps/unix/sysv/linux/i386/Makefile [subdir==misc]
(sysdep_headers): Add sys/debugreg.h.
1998-09-11 17:55:01 +02:00
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
|
|
/* Get the conversion table. */
|
|
|
|
#define TABLES <cwi.h>
|
|
|
|
|
|
|
|
#define CHARSET_NAME "CWI//"
|
|
|
|
#define HAS_HOLES 0 /* All 256 character are defined. */
|
|
|
|
|
|
|
|
#include <8bit-gap.c>
|