From 46f83754e6c7e5ab80cecbeae4f9aab4468e8c67 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Sat, 10 Apr 1999 13:30:43 +0000 Subject: Update. 1999-04-10 Ulrich Drepper * iconvdata/Makefile (modules): Add TIS-620. (distribute): Add tis-620.c. (gen-8bit-gap-modules): tis-620. * iconvdata/tis-620.c: New file. * iconvdata/gconv-modules: Add TIS-620 entries. * iconvdata/asmo_449.c: Correct comment. --- ChangeLog | 10 ++ iconvdata/Makefile | 6 +- iconvdata/asmo_449.c | 4 +- iconvdata/gconv-modules | 9 ++ iconvdata/tis-620.c | 29 +++++ localedata/ChangeLog | 5 + localedata/charmaps/TIS-620 | 311 ++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 369 insertions(+), 5 deletions(-) create mode 100644 iconvdata/tis-620.c create mode 100644 localedata/charmaps/TIS-620 diff --git a/ChangeLog b/ChangeLog index 14d46dc..f51b934 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +1999-04-10 Ulrich Drepper + + * iconvdata/Makefile (modules): Add TIS-620. + (distribute): Add tis-620.c. + (gen-8bit-gap-modules): tis-620. + * iconvdata/tis-620.c: New file. + * iconvdata/gconv-modules: Add TIS-620 entries. + + * iconvdata/asmo_449.c: Correct comment. + 1999-04-10 Andreas Jaeger * manual/install.texi (Configuring and compiling): Comment out diff --git a/iconvdata/Makefile b/iconvdata/Makefile index fd0159b..ea39c30 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 + SAMI-WS2 ISO-IR-197 TIS-620 modules.so := $(addsuffix .so, $(modules)) @@ -111,7 +111,7 @@ 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 + t.61.c uhc.c sami-ws2.c iso-ir-197.c tis-620.c # We build the transformation modules only when we build shared libs. ifeq (yes,$(build-shared)) @@ -151,7 +151,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 + iso-ir-197 cp1258 tis-620 gen-special-modules := iso8859-7jp diff --git a/iconvdata/asmo_449.c b/iconvdata/asmo_449.c index d56facf..b10108f 100644 --- a/iconvdata/asmo_449.c +++ b/iconvdata/asmo_449.c @@ -1,5 +1,5 @@ -/* Conversion from and to MACINTOSH. - Copyright (C) 1998 Free Software Foundation, Inc. +/* Conversion from and to ASMO_449. + Copyright (C) 1998, 1999 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Ulrich Drepper , 1998. diff --git a/iconvdata/gconv-modules b/iconvdata/gconv-modules index 7aa4da5..b7e2d42 100644 --- a/iconvdata/gconv-modules +++ b/iconvdata/gconv-modules @@ -1129,3 +1129,12 @@ module INTERNAL WIN-SAMI-2// SAMI-WS2 1 # from to module cost module ISO-IR-197// INTERNAL ISO-IR-197 1 module INTERNAL ISO-IR-197// ISO-IR-197 1 + +# from to module cost +alias TIS620// TIS-620// +alias TIS620-0// TIS-620// +alias TIS620.2529-1// TIS-620// +alias TIS620.2533-0// TIS-620// +alias ISO-IR-166// TIS-620// +module TIS-620// INTERNAL TIS-620 1 +module INTERNAL TIS-620// TIS-620 1 diff --git a/iconvdata/tis-620.c b/iconvdata/tis-620.c new file mode 100644 index 0000000..d30ae6c --- /dev/null +++ b/iconvdata/tis-620.c @@ -0,0 +1,29 @@ +/* Conversion from and to TIS-620. + Copyright (C) 1999 Free Software Foundation, Inc. + This file is part of the GNU C Library. + Contributed by Ulrich Drepper , 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 + +/* Get the conversion table. */ +#define TABLES + +#define CHARSET_NAME "TIS-620//" +#define HAS_HOLES 1 /* Not all 256 character are defined. */ + +#include <8bit-gap.c> diff --git a/localedata/ChangeLog b/localedata/ChangeLog index 00e5789..ff70322 100644 --- a/localedata/ChangeLog +++ b/localedata/ChangeLog @@ -1,3 +1,8 @@ +1999-04-10 Ulrich Drepper + + * charmaps/TIS-620: New file. + Contributed by Theppitak Karoonboonyanan . + 1999-03-31 Ulrich Drepper * locales/en_ZA: New file. Contributed by nic@sig.co.za. diff --git a/localedata/charmaps/TIS-620 b/localedata/charmaps/TIS-620 new file mode 100644 index 0000000..0ffd7b3 --- /dev/null +++ b/localedata/charmaps/TIS-620 @@ -0,0 +1,311 @@ + TIS-620 + % + / +% version: 1.0 +% repertoiremap: mnemonic,th +% sources: Thai Industrial Standards Institute, ECMA registry, IANA +% alias TIS620 +% alias TIS620-0 +% alias TIS620.2529-1 +% alias TIS620.2533-0 +% alias ISO-IR-166 +CHARMAP + /x00 NULL (NUL) + /x01 START OF HEADING (SOH) + /x02 START OF TEXT (STX) + /x03 END OF TEXT (ETX) + /x04 END OF TRANSMISSION (EOT) + /x05 ENQUIRY (ENQ) + /x06 ACKNOWLEDGE (ACK) + /x07 BELL (BEL) + /x08 BACKSPACE (BS) + /x09 CHARACTER TABULATION (HT) + /x0A LINE FEED (LF) + /x0B LINE TABULATION (VT) + /x0C FORM FEED (FF) + /x0D CARRIAGE RETURN (CR) + /x0E SHIFT OUT (SO) + /x0F SHIFT IN (SI) +
/x10 DATALINK ESCAPE (DLE) + /x11 DEVICE CONTROL ONE (DC1) + /x12 DEVICE CONTROL TWO (DC2) + /x13 DEVICE CONTROL THREE (DC3) + /x14 DEVICE CONTROL FOUR (DC4) + /x15 NEGATIVE ACKNOWLEDGE (NAK) + /x16 SYNCHRONOUS IDLE (SYN) + /x17 END OF TRANSMISSION BLOCK (ETB) + /x18 CANCEL (CAN) + /x19 END OF MEDIUM (EM) + /x1A SUBSTITUTE (SUB) + /x1B ESCAPE (ESC) + /x1C FILE SEPARATOR (IS4) + /x1D GROUP SEPARATOR (IS3) + /x1E RECORD SEPARATOR (IS2) + /x1F UNIT SEPARATOR (IS1) + /x20 SPACE + /x21 EXCLAMATION MARK +<"> /x22 QUOTATION MARK + /x23 NUMBER SIGN + /x24 DOLLAR SIGN +<%> /x25 PERCENT SIGN +<&> /x26 AMPERSAND +<'> /x27 APOSTROPHE +<(> /x28 LEFT PARENTHESIS +<)> /x29 RIGHT PARENTHESIS +<*> /x2A ASTERISK +<+> /x2B PLUS SIGN +<,> /x2C COMMA +<-> /x2D HYPHEN-MINUS +<.> /x2E FULL STOP + /x2F SOLIDUS +<0> /x30 DIGIT ZERO +<1> /x31 DIGIT ONE +<2> /x32 DIGIT TWO +<3> /x33 DIGIT THREE +<4> /x34 DIGIT FOUR +<5> /x35 DIGIT FIVE +<6> /x36 DIGIT SIX +<7> /x37 DIGIT SEVEN +<8> /x38 DIGIT EIGHT +<9> /x39 DIGIT NINE +<:> /x3A COLON +<;> /x3B SEMICOLON +<<> /x3C LESS-THAN SIGN +<=> /x3D EQUALS SIGN +> /x3E GREATER-THAN SIGN + /x3F QUESTION MARK + /x40 COMMERCIAL AT + /x41 LATIN CAPITAL LETTER A + /x42 LATIN CAPITAL LETTER B + /x43 LATIN CAPITAL LETTER C + /x44 LATIN CAPITAL LETTER D + /x45 LATIN CAPITAL LETTER E + /x46 LATIN CAPITAL LETTER F + /x47 LATIN CAPITAL LETTER G + /x48 LATIN CAPITAL LETTER H + /x49 LATIN CAPITAL LETTER I + /x4A LATIN CAPITAL LETTER J + /x4B LATIN CAPITAL LETTER K + /x4C LATIN CAPITAL LETTER L + /x4D LATIN CAPITAL LETTER M + /x4E LATIN CAPITAL LETTER N + /x4F LATIN CAPITAL LETTER O +

/x70 LATIN SMALL LETTER P + /x71 LATIN SMALL LETTER Q + /x72 LATIN SMALL LETTER R + /x73 LATIN SMALL LETTER S + /x74 LATIN SMALL LETTER T + /x75 LATIN SMALL LETTER U + /x76 LATIN SMALL LETTER V + /x77 LATIN SMALL LETTER W + /x78 LATIN SMALL LETTER X + /x79 LATIN SMALL LETTER Y + /x7A LATIN SMALL LETTER Z +<(!> /x7B LEFT CURLY BRACKET + /x7C VERTICAL LINE + /x7D RIGHT CURLY BRACKET +<'?> /x7E TILDE +

/x7F DELETE (DEL) + /xA1 THAI CHARACTER KO KAI + /xA2 THAI CHARACTER KHO KHAI + /xA3 THAI CHARACTER KHO KHUAT + /xA4 THAI CHARACTER KHO KHWAI + /xA5 THAI CHARACTER KHO KHON + /xA6 THAI CHARACTER KHO RAKHANG + /xA7 THAI CHARACTER NGO NGU + /xA8 THAI CHARACTER CHO CHAN + /xA9 THAI CHARACTER CHO CHING + /xAA THAI CHARACTER CHO CHANG + /xAB THAI CHARACTER SO SO + /xAC THAI CHARACTER CHO CHOE + /xAD THAI CHARACTER YO YING + /xAE THAI CHARACTER DO CHADA + /xAF THAI CHARACTER TO PATAK + /xB0 THAI CHARACTER THO THAN + /xB1 THAI CHARACTER THO NANGMONTHO + /xB2 THAI CHARACTER THO PHUTHAO + /xB3 THAI CHARACTER NO NEN + /xB4 THAI CHARACTER DO DEK + /xB5 THAI CHARACTER TO TAO + /xB6 THAI CHARACTER THO THUNG + /xB7 THAI CHARACTER THO THAHAN + /xB8 THAI CHARACTER THO THONG + /xB9 THAI CHARACTER NO NU + /xBA THAI CHARACTER BO BAIMAI + /xBB THAI CHARACTER PO PLA + /xBC THAI CHARACTER PHO PHUNG + /xBD THAI CHARACTER FO FA + /xBE THAI CHARACTER PHO PHAN + /xBF THAI CHARACTER FO FAN + /xC0 THAI CHARACTER PHO SAMPHAO + /xC1 THAI CHARACTER MO MA + /xC2 THAI CHARACTER YO YAK + /xC3 THAI CHARACTER RO RUA + /xC4 THAI CHARACTER RU + /xC5 THAI CHARACTER LO LING + /xC6 THAI CHARACTER LU + /xC7 THAI CHARACTER WO WAEN + /xC8 THAI CHARACTER SO SALA + /xC9 THAI CHARACTER SO RUSI + /xCA THAI CHARACTER SO SUA + /xCB THAI CHARACTER HO HIP + /xCC THAI CHARACTER LO CHULA + /xCD THAI CHARACTER O ANG + /xCE THAI CHARACTER HO NOKHUK + /xCF THAI CHARACTER PAIYANNOI + /xD0 THAI CHARACTER SARA A + /xD1 THAI CHARACTER MAI HAN-AKAT + /xD2 THAI CHARACTER SARA AA + /xD3 THAI CHARACTER SARA AM + /xD4 THAI CHARACTER SARA I + /xD5 THAI CHARACTER SARA II + /xD6 THAI CHARACTER SARA UE + /xD7 THAI CHARACTER SARA UEE + /xD8 THAI CHARACTER SARA U + /xD9 THAI CHARACTER SARA UU + /xDA THAI CHARACTER PHINTHU + /xDF THAI CHARACTER SYMBOL BAHT + /xE0 THAI CHARACTER SARA E + /xE1 THAI CHARACTER SARA AE + /xE2 THAI CHARACTER SARA O + /xE3 THAI CHARACTER SARA AI MAIMUAN + /xE4 THAI CHARACTER SARA AI MAIMALAI + /xE5 THAI CHARACTER LAKKHANGYAO + /xE6 THAI CHARACTER MAIYAMOK + /xE7 THAI CHARACTER MAITAIKHU + /xE8 THAI CHARACTER MAI EK + /xE9 THAI CHARACTER MAI THO + /xEA THAI CHARACTER MAI TRI + /xEB THAI CHARACTER MAI CHATTAWA + /xEC THAI CHARACTER THANTHAKHAT + /xED THAI CHARACTER NIKHAHIT + /xEE THAI CHARACTER YAMAKKAN + /xEF THAI CHARACTER FONGMAN + /xF0 THAI DIGIT ZERO + /xF1 THAI DIGIT ONE + /xF2 THAI DIGIT TWO + /xF3 THAI DIGIT THREE + /xF4 THAI DIGIT FOUR + /xF5 THAI DIGIT FIVE + /xF6 THAI DIGIT SIX + /xF7 THAI DIGIT SEVEN + /xF8 THAI DIGIT EIGHT + /xF9 THAI DIGIT NINE + /xFA THAI CHARACTER ANGKHANKHU + /xFB THAI CHARACTER KHOMUT + /x00 NUL + /x01 START OF HEADING (SOH) + /x02 START OF TEXT (STX) + /x03 END OF TEXT (ETX) + /x04 END OF TRANSMISSION (EOT) + /x05 ENQUIRY (ENQ) + /x06 ACKNOWLEDGE (ACK) + /x07 BELL (BEL) + /x07 BELL (BEL) + /x08 BACKSPACE (BS) + /x09 CHARACTER TABULATION (HT) + /x0A LINE FEED (LF) + /x0B LINE TABULATION (VT) + /x0C FORM FEED (FF) + /x0D CARRIAGE RETURN (CR) + /x10 DATALINK ESCAPE (DLE) + /x11 DEVICE CONTROL ONE (DC1) + /x12 DEVICE CONTROL TWO (DC2) + /x13 DEVICE CONTROL THREE (DC3) + /x14 DEVICE CONTROL FOUR (DC4) + /x15 NEGATIVE ACKNOWLEDGE (NAK) + /x16 SYNCHRONOUS IDLE (SYN) + /x17 END OF TRANSMISSION BLOCK (ETB) + /x18 CANCEL (CAN) + /x1A SUBSTITUTE (SUB) + /x1B ESCAPE (ESC) + /x1C FILE SEPARATOR (IS4) + /x1D GROUP SEPARATOR (IS3) + /x1D GROUP SEPARATOR (IS3) + /x1E RECORD SEPARATOR (IS2) + /x1F UNIT SEPARATOR (IS1) + /x7F DELETE (DEL) + /x20 SPACE + /x21 EXCLAMATION MARK + /x22 QUOTATION MARK + /x23 NUMBER SIGN + /x24 DOLLAR SIGN + /x25 PERCENT SIGN + /x26 AMPERSAND + /x27 APOSTROPHE + /x28 LEFT PARENTHESIS + /x29 RIGHT PARENTHESIS + /x2A ASTERISK + /x2B PLUS SIGN + /x2C COMMA + /x2D HYPHEN-MINUS + /x2D HYPHEN-MINUS + /x2E FULL STOP + /x2E FULL STOP + /x2F SOLIDUS + /x2F SOLIDUS + /x30 DIGIT ZERO + /x31 DIGIT ONE + /x32 DIGIT TWO + /x33 DIGIT THREE + /x34 DIGIT FOUR + /x35 DIGIT FIVE + /x36 DIGIT SIX + /x37 DIGIT SEVEN + /x38 DIGIT EIGHT + /x39 DIGIT NINE + /x3A COLON + /x3B SEMICOLON + /x3C LESS-THAN SIGN + /x3D EQUALS SIGN + /x3E GREATER-THAN SIGN + /x3F QUESTION MARK + /x40 COMMERCIAL AT + /x5B LEFT SQUARE BRACKET + /x5C REVERSE SOLIDUS + /x5C REVERSE SOLIDUS + /x5D RIGHT SQUARE BRACKET + /x5E CIRCUMFLEX ACCENT + /x5E CIRCUMFLEX ACCENT + /x5F LOW LINE + /x5F LOW LINE + /x60 GRAVE ACCENT + /x7B LEFT CURLY BRACKET + /x7B LEFT CURLY BRACKET + /x7C VERTICAL LINE + /x7D RIGHT CURLY BRACKET + /x7D RIGHT CURLY BRACKET + /x7E TILDE +END CHARMAP -- cgit v1.1

/x50 LATIN CAPITAL LETTER P + /x51 LATIN CAPITAL LETTER Q + /x52 LATIN CAPITAL LETTER R + /x53 LATIN CAPITAL LETTER S + /x54 LATIN CAPITAL LETTER T + /x55 LATIN CAPITAL LETTER U + /x56 LATIN CAPITAL LETTER V + /x57 LATIN CAPITAL LETTER W + /x58 LATIN CAPITAL LETTER X + /x59 LATIN CAPITAL LETTER Y + /x5A LATIN CAPITAL LETTER Z +<<(> /x5B LEFT SQUARE BRACKET + /x5C REVERSE SOLIDUS +<)/>> /x5D RIGHT SQUARE BRACKET +<'/>> /x5E CIRCUMFLEX ACCENT +<_> /x5F LOW LINE +<'!> /x60 GRAVE ACCENT + /x61 LATIN SMALL LETTER A + /x62 LATIN SMALL LETTER B + /x63 LATIN SMALL LETTER C + /x64 LATIN SMALL LETTER D + /x65 LATIN SMALL LETTER E + /x66 LATIN SMALL LETTER F + /x67 LATIN SMALL LETTER G + /x68 LATIN SMALL LETTER H + /x69 LATIN SMALL LETTER I + /x6A LATIN SMALL LETTER J + /x6B LATIN SMALL LETTER K + /x6C LATIN SMALL LETTER L + /x6D LATIN SMALL LETTER M + /x6E LATIN SMALL LETTER N + /x6F LATIN SMALL LETTER O +