2000-10-27  Ulrich Drepper  <drepper@redhat.com>

	* iconvdata/Makefile (modules): Add VISCII.
	(gen-8bit-modules): Add viscii.
	* iconvdata/viscii.c: New file.
	* iconvdata/gconv-modules: Add entries for VISCII.
	* iconvdata/tst-tables.sh: Add VISCII.
This commit is contained in:
Ulrich Drepper 2000-10-27 21:07:08 +00:00
parent ad5419628d
commit 6d5503b16a
7 changed files with 310 additions and 4 deletions

View File

@ -1,3 +1,11 @@
2000-10-27 Ulrich Drepper <drepper@redhat.com>
* iconvdata/Makefile (modules): Add VISCII.
(gen-8bit-modules): Add viscii.
* iconvdata/viscii.c: New file.
* iconvdata/gconv-modules: Add entries for VISCII.
* iconvdata/tst-tables.sh: Add VISCII.
2000-10-27 Andreas Schwab <schwab@suse.de>
* sysdeps/m68k/fpu/libm-test-ulps: Add some more ulps.

View File

@ -46,7 +46,7 @@ modules := ISO8859-1 ISO8859-2 ISO8859-3 ISO8859-4 ISO8859-5 \
ISO_5428 ISO_10367-BOX MAC-IS MAC-UK NATS-DANO NATS-SEFI \
SAMI-WS2 ISO-IR-197 TIS-620 KOI8-U GBK ISIRI-3342 GBGBK \
ISO-2022-CN libISOIR165 UTF-16 UNICODE UTF-7 BIG5HKSCS \
GB18030 ISO-2022-CN-EXT
GB18030 ISO-2022-CN-EXT VISCII
modules.so := $(addsuffix .so, $(modules))
@ -147,8 +147,7 @@ extra-objs += $(modules.so)
install-others = $(addprefix $(inst_gconvdir)/, $(modules.so)) \
$(inst_gconvdir)/gconv-modules
# If we have the localedata add-on available we can build the conversion
# tables for numerous charsets.
# We can build the conversion tables for numerous charsets automatically.
gen-8bit-modules := iso8859-2 iso8859-3 iso8859-4 iso8859-6 iso8859-9 koi-8 \
hp-roman8 ebcdic-at-de ebcdic-at-de-a ebcdic-ca-fr \
@ -156,7 +155,7 @@ gen-8bit-modules := iso8859-2 iso8859-3 iso8859-4 iso8859-6 iso8859-9 koi-8 \
ebcdic-es-s ebcdic-fi-se ebcdic-fi-se-a ebcdic-fr \
ebcdic-is-friss ebcdic-it ebcdic-pt ebcdic-uk ebcdic-us \
ibm037 ibm038 ibm274 ibm275 ibm423 ibm500 ibm870 ibm871 \
ibm891 ibm903 ibm904 ibm905 ibm1047 iso8859-16
ibm891 ibm903 ibm904 ibm905 ibm1047 iso8859-16 viscii
gen-8bit-gap-modules := koi8-r latin-greek latin-greek-1 ibm256 ibm273 \
ibm277 ibm278 ibm280 ibm281 ibm284 ibm285 ibm290 \

View File

@ -1214,3 +1214,7 @@ module INTERNAL UTF-7// UTF-7 1
# from to module cost
module GB18030// INTERNAL GB18030 1
module INTERNAL GB18030// GB18030 1
# from to module cost
module VISCII// INTERNAL VISCII 1
module INTERNAL VISCII// VISCII 1

View File

@ -179,6 +179,7 @@ cat <<EOF |
ISO-IR-197
TIS-620
KOI8-U
VISCII
#ISIRI-3342 This charset concept is completely broken
#
# Multibyte encodings come here

28
iconvdata/viscii.c Normal file
View File

@ -0,0 +1,28 @@
/* Conversion from and to VISCII.
Copyright (C) 2000 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@cygnus.com>, 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. */
/* Get the conversion table. */
#include <stdint.h>
#include <viscii.h>
#define CHARSET_NAME "VISCII//"
#define HAS_HOLES 0 /* All 256 character are defined. */
#include <8bit-generic.c>

View File

@ -1,3 +1,7 @@
2000-10-27 Ulrich Drepper <drepper@redhat.com>
* charmaps/VISCII: New file.
2000-10-27 Bruno Haible <haible@clisp.cons.org>
* locales/sr_YU@cyrillic: New file. Based on a locale file by

262
localedata/charmaps/VISCII Normal file
View File

@ -0,0 +1,262 @@
<code_set_name> VISCII
<comment_char> %
<escape_char> /
CHARMAP
<U0000> /x00 NULL (NUL)
<U0001> /x01 START OF HEADING (SOH)
<U1EB2> /x02 LATIN CAPITAL LETTER A WITH BREVE AND HOOK ABOVE
<U0003> /x03 END OF TEXT (ETX)
<U0004> /x04 END OF TRANSMISSION (EOT)
<U1EB4> /x05 LATIN CAPITAL LETTER A WITH BREVE AND TILDE
<U1EAA> /x06 LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND TILDE
<U0007> /x07 BELL (BEL)
<U0008> /x08 BACKSPACE (BS)
<U0009> /x09 CHARACTER TABULATION (HT)
<U000A> /x0a LINE FEED (LF)
<U000B> /x0b LINE TABULATION (VT)
<U000C> /x0c FORM FEED (FF)
<U000D> /x0d CARRIAGE RETURN (CR)
<U000E> /x0e SHIFT OUT (SO)
<U000F> /x0f SHIFT IN (SI)
<U0010> /x10 DATALINK ESCAPE (DLE)
<U0011> /x11 DEVICE CONTROL ONE (DC1)
<U0012> /x12 DEVICE CONTROL TWO (DC2)
<U0013> /x13 DEVICE CONTROL THREE (DC3)
<U1EF6> /x14 LATIN CAPITAL LETTER Y WITH HOOK ABOVE
<U0015> /x15 NEGATIVE ACKNOWLEDGE (NAK)
<U0016> /x16 SYNCHRONOUS IDLE (SYN)
<U0017> /x17 END OF TRANSMISSION BLOCK (ETB)
<U0018> /x18 CANCEL (CAN)
<U1EF8> /x19 LATIN CAPITAL LETTER Y WITH TILDE
<U001A> /x1a SUBSTITUTE (SUB)
<U001B> /x1b ESCAPE (ESC)
<U001C> /x1c FILE SEPARATOR (IS4)
<U001D> /x1d GROUP SEPARATOR (IS3)
<U1EF4> /x1e LATIN CAPITAL LETTER Y WITH DOT BELOW
<U001F> /x1f UNIT SEPARATOR (IS1)
<U0020> /x20 SPACE
<U0021> /x21 EXCLAMATION MARK
<U0022> /x22 QUOTATION MARK
<U0023> /x23 NUMBER SIGN
<U0024> /x24 DOLLAR SIGN
<U0025> /x25 PERCENT SIGN
<U0026> /x26 AMPERSAND
<U0027> /x27 APOSTROPHE
<U0028> /x28 LEFT PARENTHESIS
<U0029> /x29 RIGHT PARENTHESIS
<U002A> /x2a ASTERISK
<U002B> /x2b PLUS SIGN
<U002C> /x2c COMMA
<U002D> /x2d HYPHEN-MINUS
<U002E> /x2e FULL STOP
<U002F> /x2f SOLIDUS
<U0030> /x30 DIGIT ZERO
<U0031> /x31 DIGIT ONE
<U0032> /x32 DIGIT TWO
<U0033> /x33 DIGIT THREE
<U0034> /x34 DIGIT FOUR
<U0035> /x35 DIGIT FIVE
<U0036> /x36 DIGIT SIX
<U0037> /x37 DIGIT SEVEN
<U0038> /x38 DIGIT EIGHT
<U0039> /x39 DIGIT NINE
<U003A> /x3a COLON
<U003B> /x3b SEMICOLON
<U003C> /x3c LESS-THAN SIGN
<U003D> /x3d EQUALS SIGN
<U003E> /x3e GREATER-THAN SIGN
<U003F> /x3f QUESTION MARK
<U0040> /x40 COMMERCIAL AT
<U0041> /x41 LATIN CAPITAL LETTER A
<U0042> /x42 LATIN CAPITAL LETTER B
<U0043> /x43 LATIN CAPITAL LETTER C
<U0044> /x44 LATIN CAPITAL LETTER D
<U0045> /x45 LATIN CAPITAL LETTER E
<U0046> /x46 LATIN CAPITAL LETTER F
<U0047> /x47 LATIN CAPITAL LETTER G
<U0048> /x48 LATIN CAPITAL LETTER H
<U0049> /x49 LATIN CAPITAL LETTER I
<U004A> /x4a LATIN CAPITAL LETTER J
<U004B> /x4b LATIN CAPITAL LETTER K
<U004C> /x4c LATIN CAPITAL LETTER L
<U004D> /x4d LATIN CAPITAL LETTER M
<U004E> /x4e LATIN CAPITAL LETTER N
<U004F> /x4f LATIN CAPITAL LETTER O
<U0050> /x50 LATIN CAPITAL LETTER P
<U0051> /x51 LATIN CAPITAL LETTER Q
<U0052> /x52 LATIN CAPITAL LETTER R
<U0053> /x53 LATIN CAPITAL LETTER S
<U0054> /x54 LATIN CAPITAL LETTER T
<U0055> /x55 LATIN CAPITAL LETTER U
<U0056> /x56 LATIN CAPITAL LETTER V
<U0057> /x57 LATIN CAPITAL LETTER W
<U0058> /x58 LATIN CAPITAL LETTER X
<U0059> /x59 LATIN CAPITAL LETTER Y
<U005A> /x5a LATIN CAPITAL LETTER Z
<U005B> /x5b LEFT SQUARE BRACKET
<U005C> /x5c REVERSE SOLIDUS
<U005D> /x5d RIGHT SQUARE BRACKET
<U005E> /x5e CIRCUMFLEX ACCENT
<U005F> /x5f LOW LINE
<U0060> /x60 GRAVE ACCENT
<U0061> /x61 LATIN SMALL LETTER A
<U0062> /x62 LATIN SMALL LETTER B
<U0063> /x63 LATIN SMALL LETTER C
<U0064> /x64 LATIN SMALL LETTER D
<U0065> /x65 LATIN SMALL LETTER E
<U0066> /x66 LATIN SMALL LETTER F
<U0067> /x67 LATIN SMALL LETTER G
<U0068> /x68 LATIN SMALL LETTER H
<U0069> /x69 LATIN SMALL LETTER I
<U006A> /x6a LATIN SMALL LETTER J
<U006B> /x6b LATIN SMALL LETTER K
<U006C> /x6c LATIN SMALL LETTER L
<U006D> /x6d LATIN SMALL LETTER M
<U006E> /x6e LATIN SMALL LETTER N
<U006F> /x6f LATIN SMALL LETTER O
<U0070> /x70 LATIN SMALL LETTER P
<U0071> /x71 LATIN SMALL LETTER Q
<U0072> /x72 LATIN SMALL LETTER R
<U0073> /x73 LATIN SMALL LETTER S
<U0074> /x74 LATIN SMALL LETTER T
<U0075> /x75 LATIN SMALL LETTER U
<U0076> /x76 LATIN SMALL LETTER V
<U0077> /x77 LATIN SMALL LETTER W
<U0078> /x78 LATIN SMALL LETTER X
<U0079> /x79 LATIN SMALL LETTER Y
<U007A> /x7a LATIN SMALL LETTER Z
<U007B> /x7b LEFT CURLY BRACKET
<U007C> /x7c VERTICAL LINE
<U007D> /x7d RIGHT CURLY BRACKET
<U007E> /x7e TILDE
<U007F> /x7f DELETE (DEL)
<U1EA0> /x80 LATIN CAPITAL LETTER A WITH DOT BELOW
<U1EAE> /x81 LATIN CAPITAL LETTER A WITH BREVE AND ACUTE
<U1EB0> /x82 LATIN CAPITAL LETTER A WITH BREVE AND GRAVE
<U1EB6> /x83 LATIN CAPITAL LETTER A WITH BREVE AND DOT BELOW
<U1EA4> /x84 LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND ACUTE
<U1EA6> /x85 LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND GRAVE
<U1EA8> /x86 LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND HOOK ABOVE
<U1EAC> /x87 LATIN CAPITAL LETTER A WITH CIRCUMFLEX AND DOT BELOW
<U1EBC> /x88 LATIN CAPITAL LETTER E WITH TILDE
<U1EB8> /x89 LATIN CAPITAL LETTER E WITH DOT BELOW
<U1EBE> /x8a LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND ACUTE
<U1EC0> /x8b LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND GRAVE
<U1EC2> /x8c LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND HOOK ABOVE
<U1EC4> /x8d LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND TILDE
<U1EC6> /x8e LATIN CAPITAL LETTER E WITH CIRCUMFLEX AND DOT BELOW
<U1ED0> /x8f LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND ACUTE
<U1ED2> /x90 LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND GRAVE
<U1ED4> /x91 LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND HOOK ABOVE
<U1ED6> /x92 LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND TILDE
<U1ED8> /x93 LATIN CAPITAL LETTER O WITH CIRCUMFLEX AND DOT BELOW
<U1EE2> /x94 LATIN CAPITAL LETTER O WITH HORN AND DOT BELOW
<U1EDA> /x95 LATIN CAPITAL LETTER O WITH HORN AND ACUTE
<U1EDC> /x96 LATIN CAPITAL LETTER O WITH HORN AND GRAVE
<U1EDE> /x97 LATIN CAPITAL LETTER O WITH HORN AND HOOK ABOVE
<U1ECA> /x98 LATIN CAPITAL LETTER I WITH DOT BELOW
<U1ECE> /x99 LATIN CAPITAL LETTER O WITH HOOK ABOVE
<U1ECC> /x9a LATIN CAPITAL LETTER O WITH DOT BELOW
<U1EC8> /x9b LATIN CAPITAL LETTER I WITH HOOK ABOVE
<U1EE6> /x9c LATIN CAPITAL LETTER U WITH HOOK ABOVE
<U0168> /x9d LATIN CAPITAL LETTER U WITH TILDE
<U1EE4> /x9e LATIN CAPITAL LETTER U WITH DOT BELOW
<U1EF2> /x9f LATIN CAPITAL LETTER Y WITH GRAVE
<U00D5> /xa0 LATIN CAPITAL LETTER O WITH TILDE
<U1EAF> /xa1 LATIN SMALL LETTER A WITH BREVE AND ACUTE
<U1EB1> /xa2 LATIN SMALL LETTER A WITH BREVE AND GRAVE
<U1EB7> /xa3 LATIN SMALL LETTER A WITH BREVE AND DOT BELOW
<U1EA5> /xa4 LATIN SMALL LETTER A WITH CIRCUMFLEX AND ACUTE
<U1EA7> /xa5 LATIN SMALL LETTER A WITH CIRCUMFLEX AND GRAVE
<U1EA9> /xa6 LATIN SMALL LETTER A WITH CIRCUMFLEX AND HOOK ABOVE
<U1EAD> /xa7 LATIN SMALL LETTER A WITH CIRCUMFLEX AND DOT BELOW
<U1EBD> /xa8 LATIN SMALL LETTER E WITH TILDE
<U1EB9> /xa9 LATIN SMALL LETTER E WITH DOT BELOW
<U1EBF> /xaa LATIN SMALL LETTER E WITH CIRCUMFLEX AND ACUTE
<U1EC1> /xab LATIN SMALL LETTER E WITH CIRCUMFLEX AND GRAVE
<U1EC3> /xac LATIN SMALL LETTER E WITH CIRCUMFLEX AND HOOK ABOVE
<U1EC5> /xad LATIN SMALL LETTER E WITH CIRCUMFLEX AND TILDE
<U1EC7> /xae LATIN SMALL LETTER E WITH CIRCUMFLEX AND DOT BELOW
<U1ED1> /xaf LATIN SMALL LETTER O WITH CIRCUMFLEX AND ACUTE
<U1ED3> /xb0 LATIN SMALL LETTER O WITH CIRCUMFLEX AND GRAVE
<U1ED5> /xb1 LATIN SMALL LETTER O WITH CIRCUMFLEX AND HOOK ABOVE
<U1ED7> /xb2 LATIN SMALL LETTER O WITH CIRCUMFLEX AND TILDE
<U1EE0> /xb3 LATIN CAPITAL LETTER O WITH HORN AND TILDE
<U01A0> /xb4 LATIN CAPITAL LETTER O WITH HORN
<U1ED9> /xb5 LATIN SMALL LETTER O WITH CIRCUMFLEX AND DOT BELOW
<U1EDD> /xb6 LATIN SMALL LETTER O WITH HORN AND GRAVE
<U1EDF> /xb7 LATIN SMALL LETTER O WITH HORN AND HOOK ABOVE
<U1ECB> /xb8 LATIN SMALL LETTER I WITH DOT BELOW
<U1EF0> /xb9 LATIN CAPITAL LETTER U WITH HORN AND DOT BELOW
<U1EE8> /xba LATIN CAPITAL LETTER U WITH HORN AND ACUTE
<U1EEA> /xbb LATIN CAPITAL LETTER U WITH HORN AND GRAVE
<U1EEC> /xbc LATIN CAPITAL LETTER U WITH HORN AND HOOK ABOVE
<U01A1> /xbd LATIN SMALL LETTER O WITH HORN
<U1EDB> /xbe LATIN SMALL LETTER O WITH HORN AND ACUTE
<U01AF> /xbf LATIN CAPITAL LETTER U WITH HORN
<U00C0> /xc0 LATIN CAPITAL LETTER A WITH GRAVE
<U00C1> /xc1 LATIN CAPITAL LETTER A WITH ACUTE
<U00C2> /xc2 LATIN CAPITAL LETTER A WITH CIRCUMFLEX
<U00C3> /xc3 LATIN CAPITAL LETTER A WITH TILDE
<U1EA2> /xc4 LATIN CAPITAL LETTER A WITH HOOK ABOVE
<U0102> /xc5 LATIN CAPITAL LETTER A WITH BREVE
<U1EB3> /xc6 LATIN SMALL LETTER A WITH BREVE AND HOOK ABOVE
<U1EB5> /xc7 LATIN SMALL LETTER A WITH BREVE AND TILDE
<U00C8> /xc8 LATIN CAPITAL LETTER E WITH GRAVE
<U00C9> /xc9 LATIN CAPITAL LETTER E WITH ACUTE
<U00CA> /xca LATIN CAPITAL LETTER E WITH CIRCUMFLEX
<U1EBA> /xcb LATIN CAPITAL LETTER E WITH HOOK ABOVE
<U00CC> /xcc LATIN CAPITAL LETTER I WITH GRAVE
<U00CD> /xcd LATIN CAPITAL LETTER I WITH ACUTE
<U0128> /xce LATIN CAPITAL LETTER I WITH TILDE
<U1EF3> /xcf LATIN SMALL LETTER Y WITH GRAVE
<U0110> /xd0 LATIN CAPITAL LETTER D WITH STROKE
<U1EE9> /xd1 LATIN SMALL LETTER U WITH HORN AND ACUTE
<U00D2> /xd2 LATIN CAPITAL LETTER O WITH GRAVE
<U00D3> /xd3 LATIN CAPITAL LETTER O WITH ACUTE
<U00D4> /xd4 LATIN CAPITAL LETTER O WITH CIRCUMFLEX
<U1EA1> /xd5 LATIN SMALL LETTER A WITH DOT BELOW
<U1EF7> /xd6 LATIN SMALL LETTER Y WITH HOOK ABOVE
<U1EEB> /xd7 LATIN SMALL LETTER U WITH HORN AND GRAVE
<U1EED> /xd8 LATIN SMALL LETTER U WITH HORN AND HOOK ABOVE
<U00D9> /xd9 LATIN CAPITAL LETTER U WITH GRAVE
<U00DA> /xda LATIN CAPITAL LETTER U WITH ACUTE
<U1EF9> /xdb LATIN SMALL LETTER Y WITH TILDE
<U1EF5> /xdc LATIN SMALL LETTER Y WITH DOT BELOW
<U00DD> /xdd LATIN CAPITAL LETTER Y WITH ACUTE
<U1EE1> /xde LATIN SMALL LETTER O WITH HORN AND TILDE
<U01B0> /xdf LATIN SMALL LETTER U WITH HORN
<U00E0> /xe0 LATIN SMALL LETTER A WITH GRAVE
<U00E1> /xe1 LATIN SMALL LETTER A WITH ACUTE
<U00E2> /xe2 LATIN SMALL LETTER A WITH CIRCUMFLEX
<U00E3> /xe3 LATIN SMALL LETTER A WITH TILDE
<U1EA3> /xe4 LATIN SMALL LETTER A WITH HOOK ABOVE
<U0103> /xe5 LATIN SMALL LETTER A WITH BREVE
<U1EEF> /xe6 LATIN SMALL LETTER U WITH HORN AND TILDE
<U1EAB> /xe7 LATIN SMALL LETTER A WITH CIRCUMFLEX AND TILDE
<U00E8> /xe8 LATIN SMALL LETTER E WITH GRAVE
<U00E9> /xe9 LATIN SMALL LETTER E WITH ACUTE
<U00EA> /xea LATIN SMALL LETTER E WITH CIRCUMFLEX
<U1EBB> /xeb LATIN SMALL LETTER E WITH HOOK ABOVE
<U00EC> /xec LATIN SMALL LETTER I WITH GRAVE
<U00ED> /xed LATIN SMALL LETTER I WITH ACUTE
<U0129> /xee LATIN SMALL LETTER I WITH TILDE
<U1EC9> /xef LATIN SMALL LETTER I WITH HOOK ABOVE
<U0111> /xf0 LATIN SMALL LETTER D WITH STROKE
<U1EF1> /xf1 LATIN SMALL LETTER U WITH HORN AND DOT BELOW
<U00F2> /xf2 LATIN SMALL LETTER O WITH GRAVE
<U00F3> /xf3 LATIN SMALL LETTER O WITH ACUTE
<U00F4> /xf4 LATIN SMALL LETTER O WITH CIRCUMFLEX
<U00F5> /xf5 LATIN SMALL LETTER O WITH TILDE
<U1ECF> /xf6 LATIN SMALL LETTER O WITH HOOK ABOVE
<U1ECD> /xf7 LATIN SMALL LETTER O WITH DOT BELOW
<U1EE5> /xf8 LATIN SMALL LETTER U WITH DOT BELOW
<U00F9> /xf9 LATIN SMALL LETTER U WITH GRAVE
<U00FA> /xfa LATIN SMALL LETTER U WITH ACUTE
<U0169> /xfb LATIN SMALL LETTER U WITH TILDE
<U1EE7> /xfc LATIN SMALL LETTER U WITH HOOK ABOVE
<U00FD> /xfd LATIN SMALL LETTER Y WITH ACUTE
<U1EE3> /xfe LATIN SMALL LETTER O WITH HORN AND DOT BELOW
<U1EEE> /xff LATIN CAPITAL LETTER U WITH HORN AND TILDE
END CHARMAP