summaryrefslogtreecommitdiff
path: root/src/xlibi18n/lcUniConv
diff options
context:
space:
mode:
Diffstat (limited to 'src/xlibi18n/lcUniConv')
-rw-r--r--src/xlibi18n/lcUniConv/8bit_tab_to_h.c2
-rw-r--r--src/xlibi18n/lcUniConv/README4
-rw-r--r--src/xlibi18n/lcUniConv/armscii_8.h42
-rw-r--r--src/xlibi18n/lcUniConv/ascii.h2
-rw-r--r--src/xlibi18n/lcUniConv/big5.h4
-rw-r--r--src/xlibi18n/lcUniConv/big5_emacs.h2
-rw-r--r--src/xlibi18n/lcUniConv/cjk_tab_to_h.c2
-rw-r--r--src/xlibi18n/lcUniConv/cp1133.h2
-rw-r--r--src/xlibi18n/lcUniConv/cp1251.h2
-rw-r--r--src/xlibi18n/lcUniConv/cp1255.h2
-rw-r--r--src/xlibi18n/lcUniConv/cp1256.h2
-rw-r--r--src/xlibi18n/lcUniConv/gb2312.h4
-rw-r--r--src/xlibi18n/lcUniConv/georgian_academy.h2
-rw-r--r--src/xlibi18n/lcUniConv/georgian_ps.h2
-rw-r--r--src/xlibi18n/lcUniConv/iso8859_1.h2
-rw-r--r--src/xlibi18n/lcUniConv/iso8859_10.h2
-rw-r--r--src/xlibi18n/lcUniConv/iso8859_11.h2
-rw-r--r--src/xlibi18n/lcUniConv/iso8859_13.h2
-rw-r--r--src/xlibi18n/lcUniConv/iso8859_14.h2
-rw-r--r--src/xlibi18n/lcUniConv/iso8859_15.h2
-rw-r--r--src/xlibi18n/lcUniConv/iso8859_16.h8
-rw-r--r--src/xlibi18n/lcUniConv/iso8859_2.h2
-rw-r--r--src/xlibi18n/lcUniConv/iso8859_3.h2
-rw-r--r--src/xlibi18n/lcUniConv/iso8859_4.h2
-rw-r--r--src/xlibi18n/lcUniConv/iso8859_5.h2
-rw-r--r--src/xlibi18n/lcUniConv/iso8859_6.h2
-rw-r--r--src/xlibi18n/lcUniConv/iso8859_7.h2
-rw-r--r--src/xlibi18n/lcUniConv/iso8859_8.h2
-rw-r--r--src/xlibi18n/lcUniConv/iso8859_9.h2
-rw-r--r--src/xlibi18n/lcUniConv/iso8859_9e.h2
-rw-r--r--src/xlibi18n/lcUniConv/jisx0201.h2
-rw-r--r--src/xlibi18n/lcUniConv/jisx0208.h4
-rw-r--r--src/xlibi18n/lcUniConv/jisx0212.h4
-rw-r--r--src/xlibi18n/lcUniConv/koi8_c.h2
-rw-r--r--src/xlibi18n/lcUniConv/koi8_r.h2
-rw-r--r--src/xlibi18n/lcUniConv/koi8_u.h2
-rw-r--r--src/xlibi18n/lcUniConv/ksc5601.h4
-rw-r--r--src/xlibi18n/lcUniConv/mulelao.h2
-rw-r--r--src/xlibi18n/lcUniConv/tatar_cyr.h2
-rw-r--r--src/xlibi18n/lcUniConv/tcvn.h2
-rw-r--r--src/xlibi18n/lcUniConv/tis620.h2
-rw-r--r--src/xlibi18n/lcUniConv/ucs2be.h2
-rw-r--r--src/xlibi18n/lcUniConv/utf8.h2
-rw-r--r--src/xlibi18n/lcUniConv/viscii.h2
44 files changed, 76 insertions, 70 deletions
diff --git a/src/xlibi18n/lcUniConv/8bit_tab_to_h.c b/src/xlibi18n/lcUniConv/8bit_tab_to_h.c
index 1d794841..ae5340cf 100644
--- a/src/xlibi18n/lcUniConv/8bit_tab_to_h.c
+++ b/src/xlibi18n/lcUniConv/8bit_tab_to_h.c
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/8bit_tab_to_h.c,v 1.3 2001/02/09 00:02:54 dawes Exp $ */
+/* $XFree86: xc/lib/X11/lcUniConv/8bit_tab_to_h.c,v 1.2 2000/12/04 18:49:30 dawes Exp $ */
/*
* Generates an 8-bit character set table from a .TXT table as found on
diff --git a/src/xlibi18n/lcUniConv/README b/src/xlibi18n/lcUniConv/README
index 844f090b..5ea4f056 100644
--- a/src/xlibi18n/lcUniConv/README
+++ b/src/xlibi18n/lcUniConv/README
@@ -1,3 +1,5 @@
+$XFree86$
+
The files in this directory are taken from the libiconv-1.1 package.
The *.h files were generated from tables (mostly from ftp.unicode.org) using
@@ -6,5 +8,5 @@ optimizations were applied by hand.
If you find a bug in these files, instead of modifying them in XFree86
and let it diverge from libiconv, please notify the libiconv maintainer
-(currently <haible@clisp.cons.org>) so he can fix both in synch.
+(currently <bruno@clisp.org>) so he can fix both in synch.
diff --git a/src/xlibi18n/lcUniConv/armscii_8.h b/src/xlibi18n/lcUniConv/armscii_8.h
index 32b4e9c5..6ca102ea 100644
--- a/src/xlibi18n/lcUniConv/armscii_8.h
+++ b/src/xlibi18n/lcUniConv/armscii_8.h
@@ -6,8 +6,8 @@
static const unsigned short armscii_8_2uni[96] = {
/* 0xa0 */
- 0x00a0, 0x2741, 0x00a7, 0x0589, 0x0029, 0x0028, 0x00bb, 0x00ab,
- 0x2014, 0x002e, 0x055d, 0x002c, 0x002d, 0x055f, 0x2026, 0x055c,
+ 0x00a0, 0xfffd, 0x0587, 0x0589, 0x0029, 0x0028, 0x00bb, 0x00ab,
+ 0x2014, 0x002e, 0x055d, 0x002c, 0x002d, 0x058a, 0x2026, 0x055c,
/* 0xb0 */
0x055b, 0x055e, 0x0531, 0x0561, 0x0532, 0x0562, 0x0533, 0x0563,
0x0534, 0x0564, 0x0535, 0x0565, 0x0536, 0x0566, 0x0537, 0x0567,
@@ -22,26 +22,32 @@ static const unsigned short armscii_8_2uni[96] = {
0x054c, 0x057c, 0x054d, 0x057d, 0x054e, 0x057e, 0x054f, 0x057f,
/* 0xf0 */
0x0550, 0x0580, 0x0551, 0x0581, 0x0552, 0x0582, 0x0553, 0x0583,
- 0x0554, 0x0584, 0x0555, 0x0585, 0x0556, 0x0586, 0x2019, 0x0027,
+ 0x0554, 0x0584, 0x0555, 0x0585, 0x0556, 0x0586, 0x055a, 0xfffd,
};
static int
armscii_8_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n)
{
unsigned char c = *s;
- if (c < 0xa0)
+ if (c < 0xa0) {
*pwc = (ucs4_t) c;
- else
- *pwc = (ucs4_t) armscii_8_2uni[c-0xa0];
- return 1;
+ return 1;
+ }
+ else {
+ unsigned short wc = armscii_8_2uni[c-0xa0];
+ if (wc != 0xfffd) {
+ *pwc = (ucs4_t) wc;
+ return 1;
+ }
+ }
+ return RET_ILSEQ;
}
-static const unsigned char armscii_8_page00[16] = {
- 0x20, 0x21, 0x22, 0x23, 0x24, 0x25, 0x26, 0xff, /* 0x20-0x27 */
+static const unsigned char armscii_8_page00[8] = {
0xa5, 0xa4, 0x2a, 0x2b, 0xab, 0xac, 0xa9, 0x2f, /* 0x28-0x2f */
};
static const unsigned char armscii_8_page00_1[32] = {
- 0xa0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xa2, /* 0xa0-0xa7 */
+ 0xa0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xa0-0xa7 */
0x00, 0x00, 0x00, 0xa7, 0x00, 0x00, 0x00, 0x00, /* 0xa8-0xaf */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0xb0-0xb7 */
0x00, 0x00, 0x00, 0xa6, 0x00, 0x00, 0x00, 0x00, /* 0xb8-0xbf */
@@ -52,17 +58,17 @@ static const unsigned char armscii_8_page05[96] = {
0xd0, 0xd2, 0xd4, 0xd6, 0xd8, 0xda, 0xdc, 0xde, /* 0x40-0x47 */
0xe0, 0xe2, 0xe4, 0xe6, 0xe8, 0xea, 0xec, 0xee, /* 0x48-0x4f */
0xf0, 0xf2, 0xf4, 0xf6, 0xf8, 0xfa, 0xfc, 0x00, /* 0x50-0x57 */
- 0x00, 0x00, 0x00, 0xb0, 0xaf, 0xaa, 0xb1, 0xad, /* 0x58-0x5f */
+ 0x00, 0x00, 0xfe, 0xb0, 0xaf, 0xaa, 0xb1, 0x00, /* 0x58-0x5f */
0x00, 0xb3, 0xb5, 0xb7, 0xb9, 0xbb, 0xbd, 0xbf, /* 0x60-0x67 */
0xc1, 0xc3, 0xc5, 0xc7, 0xc9, 0xcb, 0xcd, 0xcf, /* 0x68-0x6f */
0xd1, 0xd3, 0xd5, 0xd7, 0xd9, 0xdb, 0xdd, 0xdf, /* 0x70-0x77 */
0xe1, 0xe3, 0xe5, 0xe7, 0xe9, 0xeb, 0xed, 0xef, /* 0x78-0x7f */
- 0xf1, 0xf3, 0xf5, 0xf7, 0xf9, 0xfb, 0xfd, 0x00, /* 0x80-0x87 */
- 0x00, 0xa3, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x88-0x8f */
+ 0xf1, 0xf3, 0xf5, 0xf7, 0xf9, 0xfb, 0xfd, 0xa2, /* 0x80-0x87 */
+ 0x00, 0xa3, 0xad, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x88-0x8f */
};
static const unsigned char armscii_8_page20[24] = {
0x00, 0x00, 0x00, 0x00, 0xa8, 0x00, 0x00, 0x00, /* 0x10-0x17 */
- 0x00, 0xfe, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x18-0x1f */
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, /* 0x18-0x1f */
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xae, 0x00, /* 0x20-0x27 */
};
@@ -70,12 +76,12 @@ static int
armscii_8_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n)
{
unsigned char c = 0;
- if (wc < 0x0020) {
+ if (wc < 0x0028) {
*r = wc;
return 1;
}
- else if (wc >= 0x0020 && wc < 0x0030)
- c = armscii_8_page00[wc-0x0020];
+ else if (wc >= 0x0028 && wc < 0x0030)
+ c = armscii_8_page00[wc-0x0028];
else if (wc >= 0x0030 && wc < 0x00a0)
c = wc;
else if (wc >= 0x00a0 && wc < 0x00c0)
@@ -84,8 +90,6 @@ armscii_8_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n)
c = armscii_8_page05[wc-0x0530];
else if (wc >= 0x2010 && wc < 0x2028)
c = armscii_8_page20[wc-0x2010];
- else if (wc == 0x2741)
- c = 0xa1;
if (c != 0) {
*r = c;
return 1;
diff --git a/src/xlibi18n/lcUniConv/ascii.h b/src/xlibi18n/lcUniConv/ascii.h
index 183de0bb..db8677d7 100644
--- a/src/xlibi18n/lcUniConv/ascii.h
+++ b/src/xlibi18n/lcUniConv/ascii.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/ascii.h,v 1.3 2000/11/29 17:40:28 dawes Exp $ */
+/* $XFree86$ */
/*
* ASCII
diff --git a/src/xlibi18n/lcUniConv/big5.h b/src/xlibi18n/lcUniConv/big5.h
index 83e5f400..b356b5eb 100644
--- a/src/xlibi18n/lcUniConv/big5.h
+++ b/src/xlibi18n/lcUniConv/big5.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/big5.h,v 1.1 2000/11/28 18:50:03 dawes Exp $ */
+/* $XFree86: xc/lib/X11/lcUniConv/big5.h,v 1.1tsi Exp $ */
/*
* BIG5
@@ -4103,7 +4103,7 @@ big5_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n)
{
if (n >= 2) {
const Summary16 *summary = NULL;
- if (wc >= 0x0000 && wc < 0x0100)
+ if (wc < 0x0100)
summary = &big5_uni2indx_page00[(wc>>4)];
else if (wc >= 0x0200 && wc < 0x0460)
summary = &big5_uni2indx_page02[(wc>>4)-0x020];
diff --git a/src/xlibi18n/lcUniConv/big5_emacs.h b/src/xlibi18n/lcUniConv/big5_emacs.h
index 91475539..4a8f6ed5 100644
--- a/src/xlibi18n/lcUniConv/big5_emacs.h
+++ b/src/xlibi18n/lcUniConv/big5_emacs.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/big5_emacs.h,v 1.1 2000/11/28 18:50:06 dawes Exp $ */
+/* $XFree86$ */
/*
* BIG5-0 and BIG5-1
diff --git a/src/xlibi18n/lcUniConv/cjk_tab_to_h.c b/src/xlibi18n/lcUniConv/cjk_tab_to_h.c
index 1335fae7..f3cc1e0e 100644
--- a/src/xlibi18n/lcUniConv/cjk_tab_to_h.c
+++ b/src/xlibi18n/lcUniConv/cjk_tab_to_h.c
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/cjk_tab_to_h.c,v 1.2 2000/12/04 18:49:31 dawes Exp $ */
+/* $XFree86$ */
/*
* Generates a CJK character set table from a .TXT table as found on
diff --git a/src/xlibi18n/lcUniConv/cp1133.h b/src/xlibi18n/lcUniConv/cp1133.h
index da7f5896..8b7ff548 100644
--- a/src/xlibi18n/lcUniConv/cp1133.h
+++ b/src/xlibi18n/lcUniConv/cp1133.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/cp1133.h,v 1.3 2000/11/29 17:40:28 dawes Exp $ */
+/* $XFree86$ */
/*
* IBM-CP1133
diff --git a/src/xlibi18n/lcUniConv/cp1251.h b/src/xlibi18n/lcUniConv/cp1251.h
index f3f7577f..166d5ba8 100644
--- a/src/xlibi18n/lcUniConv/cp1251.h
+++ b/src/xlibi18n/lcUniConv/cp1251.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/cp1251.h,v 1.1 2000/12/04 18:49:32 dawes Exp $ */
+/* $XFree86$ */
/*
* CP1251
diff --git a/src/xlibi18n/lcUniConv/cp1255.h b/src/xlibi18n/lcUniConv/cp1255.h
index 17b843ee..f8e175d8 100644
--- a/src/xlibi18n/lcUniConv/cp1255.h
+++ b/src/xlibi18n/lcUniConv/cp1255.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/cp1255.h,v 1.1 2000/12/04 18:49:33 dawes Exp $ */
+/* $XFree86$ */
/*
* CP1255
diff --git a/src/xlibi18n/lcUniConv/cp1256.h b/src/xlibi18n/lcUniConv/cp1256.h
index 5d4051bf..5097762a 100644
--- a/src/xlibi18n/lcUniConv/cp1256.h
+++ b/src/xlibi18n/lcUniConv/cp1256.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/cp1256.h,v 1.1 2000/12/04 18:49:34 dawes Exp $ */
+/* $XFree86$ */
/*
* CP1256
diff --git a/src/xlibi18n/lcUniConv/gb2312.h b/src/xlibi18n/lcUniConv/gb2312.h
index 7337e0b5..db900a47 100644
--- a/src/xlibi18n/lcUniConv/gb2312.h
+++ b/src/xlibi18n/lcUniConv/gb2312.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/gb2312.h,v 1.4 2001/08/09 19:14:07 dawes Exp $ */
+/* $XFree86: xc/lib/X11/lcUniConv/gb2312.h,v 1.4tsi Exp $ */
/*
* GB2312.1980-0
@@ -2518,7 +2518,7 @@ gb2312_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n)
{
if (n >= 2) {
const Summary16 *summary = NULL;
- if (wc >= 0x0000 && wc < 0x0460)
+ if (wc < 0x0460)
summary = &gb2312_uni2indx_page00[(wc>>4)];
else if (wc >= 0x2000 && wc < 0x2650)
summary = &gb2312_uni2indx_page20[(wc>>4)-0x200];
diff --git a/src/xlibi18n/lcUniConv/georgian_academy.h b/src/xlibi18n/lcUniConv/georgian_academy.h
index a847c52e..23036901 100644
--- a/src/xlibi18n/lcUniConv/georgian_academy.h
+++ b/src/xlibi18n/lcUniConv/georgian_academy.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/georgian_academy.h,v 1.3 2000/11/29 17:40:29 dawes Exp $ */
+/* $XFree86$ */
/*
* GEORGIAN-ACADEMY
diff --git a/src/xlibi18n/lcUniConv/georgian_ps.h b/src/xlibi18n/lcUniConv/georgian_ps.h
index e7220d0a..b7e30bf0 100644
--- a/src/xlibi18n/lcUniConv/georgian_ps.h
+++ b/src/xlibi18n/lcUniConv/georgian_ps.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/georgian_ps.h,v 1.3 2000/11/29 17:40:29 dawes Exp $ */
+/* $XFree86$ */
/*
* GEORGIAN-PS
diff --git a/src/xlibi18n/lcUniConv/iso8859_1.h b/src/xlibi18n/lcUniConv/iso8859_1.h
index a600899f..0b03e702 100644
--- a/src/xlibi18n/lcUniConv/iso8859_1.h
+++ b/src/xlibi18n/lcUniConv/iso8859_1.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/iso8859_1.h,v 1.3 2000/11/29 17:40:30 dawes Exp $ */
+/* $XFree86$ */
/*
* ISO-8859-1
diff --git a/src/xlibi18n/lcUniConv/iso8859_10.h b/src/xlibi18n/lcUniConv/iso8859_10.h
index b63de3eb..f0ef2f69 100644
--- a/src/xlibi18n/lcUniConv/iso8859_10.h
+++ b/src/xlibi18n/lcUniConv/iso8859_10.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/iso8859_10.h,v 1.3 2000/11/29 17:40:30 dawes Exp $ */
+/* $XFree86$ */
/*
* ISO-8859-10
diff --git a/src/xlibi18n/lcUniConv/iso8859_11.h b/src/xlibi18n/lcUniConv/iso8859_11.h
index ced0b3f2..57eb016a 100644
--- a/src/xlibi18n/lcUniConv/iso8859_11.h
+++ b/src/xlibi18n/lcUniConv/iso8859_11.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/iso8859_11.h,v 1.2 2002/10/09 16:38:19 tsi Exp $ */
+/* $XFree86: xc/lib/X11/lcUniConv/iso8859_11.h,v 1.1tsi Exp $ */
/*
* ISO8859-11
diff --git a/src/xlibi18n/lcUniConv/iso8859_13.h b/src/xlibi18n/lcUniConv/iso8859_13.h
index fe1d767b..7ad1fd2a 100644
--- a/src/xlibi18n/lcUniConv/iso8859_13.h
+++ b/src/xlibi18n/lcUniConv/iso8859_13.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/iso8859_13.h,v 1.2 2000/11/28 16:10:26 dawes Exp $ */
+/* $XFree86: xc/lib/X11/lcUniConv/iso8859_13.h,v 1.1 2000/06/23 19:50:59 dawes Exp $ */
/*
* ISO-8859-13
diff --git a/src/xlibi18n/lcUniConv/iso8859_14.h b/src/xlibi18n/lcUniConv/iso8859_14.h
index c76c2c2a..7fd322cc 100644
--- a/src/xlibi18n/lcUniConv/iso8859_14.h
+++ b/src/xlibi18n/lcUniConv/iso8859_14.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/iso8859_14.h,v 1.3 2000/11/29 17:40:30 dawes Exp $ */
+/* $XFree86$ */
/*
* ISO-8859-14
diff --git a/src/xlibi18n/lcUniConv/iso8859_15.h b/src/xlibi18n/lcUniConv/iso8859_15.h
index 8c613d7f..209ca21b 100644
--- a/src/xlibi18n/lcUniConv/iso8859_15.h
+++ b/src/xlibi18n/lcUniConv/iso8859_15.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/iso8859_15.h,v 1.3 2000/11/29 17:40:31 dawes Exp $ */
+/* $XFree86$ */
/*
* ISO-8859-15
diff --git a/src/xlibi18n/lcUniConv/iso8859_16.h b/src/xlibi18n/lcUniConv/iso8859_16.h
index 3efe2ffe..657e4450 100644
--- a/src/xlibi18n/lcUniConv/iso8859_16.h
+++ b/src/xlibi18n/lcUniConv/iso8859_16.h
@@ -6,8 +6,8 @@
static const unsigned short iso8859_16_2uni[96] = {
/* 0xa0 */
- 0x00a0, 0x0104, 0x0105, 0x0141, 0x20ac, 0x00ab, 0x0160, 0x00a7,
- 0x0161, 0x00a9, 0x0218, 0x201e, 0x0179, 0x00ad, 0x017a, 0x017b,
+ 0x00a0, 0x0104, 0x0105, 0x0141, 0x20ac, 0x201e, 0x0160, 0x00a7,
+ 0x0161, 0x00a9, 0x0218, 0x00ab, 0x0179, 0x00ad, 0x017a, 0x017b,
/* 0xb0 */
0x00b0, 0x00b1, 0x010c, 0x0142, 0x017d, 0x201d, 0x00b6, 0x00b7,
0x017e, 0x010d, 0x0219, 0x00bb, 0x0152, 0x0153, 0x0178, 0x017c,
@@ -38,7 +38,7 @@ iso8859_16_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n)
static const unsigned char iso8859_16_page00[224] = {
0xa0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xa7, /* 0xa0-0xa7 */
- 0x00, 0xa9, 0x00, 0xa5, 0x00, 0xad, 0x00, 0x00, /* 0xa8-0xaf */
+ 0x00, 0xa9, 0x00, 0xab, 0x00, 0xad, 0x00, 0x00, /* 0xa8-0xaf */
0xb0, 0xb1, 0x00, 0x00, 0x00, 0x00, 0xb6, 0xb7, /* 0xb0-0xb7 */
0x00, 0x00, 0x00, 0xbb, 0x00, 0x00, 0x00, 0x00, /* 0xb8-0xbf */
0xc0, 0xc1, 0xc2, 0x00, 0xc4, 0x00, 0xc6, 0xc7, /* 0xc0-0xc7 */
@@ -71,7 +71,7 @@ static const unsigned char iso8859_16_page02[8] = {
0xaa, 0xba, 0xde, 0xfe, 0x00, 0x00, 0x00, 0x00, /* 0x18-0x1f */
};
static const unsigned char iso8859_16_page20[8] = {
- 0x00, 0x00, 0x00, 0x00, 0x00, 0xb5, 0xab, 0x00, /* 0x18-0x1f */
+ 0x00, 0x00, 0x00, 0x00, 0x00, 0xb5, 0xa5, 0x00, /* 0x18-0x1f */
};
static int
diff --git a/src/xlibi18n/lcUniConv/iso8859_2.h b/src/xlibi18n/lcUniConv/iso8859_2.h
index 9598d54b..67abd855 100644
--- a/src/xlibi18n/lcUniConv/iso8859_2.h
+++ b/src/xlibi18n/lcUniConv/iso8859_2.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/iso8859_2.h,v 1.3 2000/11/29 17:40:31 dawes Exp $ */
+/* $XFree86$ */
/*
* ISO-8859-2
diff --git a/src/xlibi18n/lcUniConv/iso8859_3.h b/src/xlibi18n/lcUniConv/iso8859_3.h
index 1604c254..399b7906 100644
--- a/src/xlibi18n/lcUniConv/iso8859_3.h
+++ b/src/xlibi18n/lcUniConv/iso8859_3.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/iso8859_3.h,v 1.3 2000/11/29 17:40:31 dawes Exp $ */
+/* $XFree86$ */
/*
* ISO-8859-3
diff --git a/src/xlibi18n/lcUniConv/iso8859_4.h b/src/xlibi18n/lcUniConv/iso8859_4.h
index 6ea62d1c..f787fa85 100644
--- a/src/xlibi18n/lcUniConv/iso8859_4.h
+++ b/src/xlibi18n/lcUniConv/iso8859_4.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/iso8859_4.h,v 1.3 2000/11/29 17:40:31 dawes Exp $ */
+/* $XFree86$ */
/*
* ISO-8859-4
diff --git a/src/xlibi18n/lcUniConv/iso8859_5.h b/src/xlibi18n/lcUniConv/iso8859_5.h
index d4785677..4a2e46e5 100644
--- a/src/xlibi18n/lcUniConv/iso8859_5.h
+++ b/src/xlibi18n/lcUniConv/iso8859_5.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/iso8859_5.h,v 1.3 2000/11/29 17:40:32 dawes Exp $ */
+/* $XFree86$ */
/*
* ISO-8859-5
diff --git a/src/xlibi18n/lcUniConv/iso8859_6.h b/src/xlibi18n/lcUniConv/iso8859_6.h
index 4d57893a..22c66713 100644
--- a/src/xlibi18n/lcUniConv/iso8859_6.h
+++ b/src/xlibi18n/lcUniConv/iso8859_6.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/iso8859_6.h,v 1.3 2000/11/29 17:40:32 dawes Exp $ */
+/* $XFree86$ */
/*
* ISO-8859-6
diff --git a/src/xlibi18n/lcUniConv/iso8859_7.h b/src/xlibi18n/lcUniConv/iso8859_7.h
index 790cec75..2fb38cae 100644
--- a/src/xlibi18n/lcUniConv/iso8859_7.h
+++ b/src/xlibi18n/lcUniConv/iso8859_7.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/iso8859_7.h,v 1.3 2000/11/29 17:40:32 dawes Exp $ */
+/* $XFree86$ */
/*
* ISO-8859-7
diff --git a/src/xlibi18n/lcUniConv/iso8859_8.h b/src/xlibi18n/lcUniConv/iso8859_8.h
index 7b780f02..e9d77a22 100644
--- a/src/xlibi18n/lcUniConv/iso8859_8.h
+++ b/src/xlibi18n/lcUniConv/iso8859_8.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/iso8859_8.h,v 1.3 2000/11/29 17:40:32 dawes Exp $ */
+/* $XFree86$ */
/*
* ISO-8859-8
diff --git a/src/xlibi18n/lcUniConv/iso8859_9.h b/src/xlibi18n/lcUniConv/iso8859_9.h
index 55ec1cb1..662992d0 100644
--- a/src/xlibi18n/lcUniConv/iso8859_9.h
+++ b/src/xlibi18n/lcUniConv/iso8859_9.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/iso8859_9.h,v 1.3 2000/11/29 17:40:32 dawes Exp $ */
+/* $XFree86$ */
/*
* ISO-8859-9
diff --git a/src/xlibi18n/lcUniConv/iso8859_9e.h b/src/xlibi18n/lcUniConv/iso8859_9e.h
index a5a0b609..17ff75b0 100644
--- a/src/xlibi18n/lcUniConv/iso8859_9e.h
+++ b/src/xlibi18n/lcUniConv/iso8859_9e.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/iso8859_9e.h,v 1.3 2000/11/28 16:10:28 dawes Exp $ */
+/* $XFree86: xc/lib/X11/lcUniConv/iso8859_9e.h,v 1.2 2000/11/02 19:10:45 dawes Exp $ */
/*
* ISO-8859-9E
diff --git a/src/xlibi18n/lcUniConv/jisx0201.h b/src/xlibi18n/lcUniConv/jisx0201.h
index 4a30f284..fec138a4 100644
--- a/src/xlibi18n/lcUniConv/jisx0201.h
+++ b/src/xlibi18n/lcUniConv/jisx0201.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/jisx0201.h,v 1.3 2000/11/29 17:40:33 dawes Exp $ */
+/* $XFree86$ */
/*
* JISX0201.1976-0
diff --git a/src/xlibi18n/lcUniConv/jisx0208.h b/src/xlibi18n/lcUniConv/jisx0208.h
index ea075471..4d8a8918 100644
--- a/src/xlibi18n/lcUniConv/jisx0208.h
+++ b/src/xlibi18n/lcUniConv/jisx0208.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/jisx0208.h,v 1.5 2001/11/21 21:20:56 dawes Exp $ */
+/* $XFree86: xc/lib/X11/lcUniConv/jisx0208.h,v 1.5tsi Exp $ */
/*
* JISX0208.1990-0
@@ -2360,7 +2360,7 @@ jisx0208_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n)
{
if (n >= 2) {
const Summary16 *summary = NULL;
- if (wc >= 0x0000 && wc < 0x0100)
+ if (wc < 0x0100)
summary = &jisx0208_uni2indx_page00[(wc>>4)];
else if (wc >= 0x0300 && wc < 0x0460)
summary = &jisx0208_uni2indx_page03[(wc>>4)-0x030];
diff --git a/src/xlibi18n/lcUniConv/jisx0212.h b/src/xlibi18n/lcUniConv/jisx0212.h
index 3b7e6dc0..6c89ee63 100644
--- a/src/xlibi18n/lcUniConv/jisx0212.h
+++ b/src/xlibi18n/lcUniConv/jisx0212.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/jisx0212.h,v 1.4 2001/08/09 19:14:08 dawes Exp $ */
+/* $XFree86: xc/lib/X11/lcUniConv/jisx0212.h,v 1.4tsi Exp $ */
/*
* JISX0212.1990-0
@@ -2135,7 +2135,7 @@ jisx0212_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n)
{
if (n >= 2) {
const Summary16 *summary = NULL;
- if (wc >= 0x0000 && wc < 0x0460)
+ if (wc < 0x0460)
summary = &jisx0212_uni2indx_page00[(wc>>4)];
else if (wc >= 0x2100 && wc < 0x2130)
summary = &jisx0212_uni2indx_page21[(wc>>4)-0x210];
diff --git a/src/xlibi18n/lcUniConv/koi8_c.h b/src/xlibi18n/lcUniConv/koi8_c.h
index e31c3684..504c2589 100644
--- a/src/xlibi18n/lcUniConv/koi8_c.h
+++ b/src/xlibi18n/lcUniConv/koi8_c.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/koi8_c.h,v 1.2 2000/11/28 16:10:29 dawes Exp $ */
+/* $XFree86: xc/lib/X11/lcUniConv/koi8_c.h,v 1.1 2000/10/27 20:26:08 dawes Exp $ */
/*
* KOI8-C
diff --git a/src/xlibi18n/lcUniConv/koi8_r.h b/src/xlibi18n/lcUniConv/koi8_r.h
index a0d3d9b2..dfbbb8dc 100644
--- a/src/xlibi18n/lcUniConv/koi8_r.h
+++ b/src/xlibi18n/lcUniConv/koi8_r.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/koi8_r.h,v 1.3 2000/11/29 17:40:34 dawes Exp $ */
+/* $XFree86$ */
/*
* KOI8-R
diff --git a/src/xlibi18n/lcUniConv/koi8_u.h b/src/xlibi18n/lcUniConv/koi8_u.h
index 43457afd..168d6a10 100644
--- a/src/xlibi18n/lcUniConv/koi8_u.h
+++ b/src/xlibi18n/lcUniConv/koi8_u.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/koi8_u.h,v 1.3 2000/11/29 17:40:34 dawes Exp $ */
+/* $XFree86$ */
/*
* KOI8-U
diff --git a/src/xlibi18n/lcUniConv/ksc5601.h b/src/xlibi18n/lcUniConv/ksc5601.h
index c7dab1eb..7e2a4623 100644
--- a/src/xlibi18n/lcUniConv/ksc5601.h
+++ b/src/xlibi18n/lcUniConv/ksc5601.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/ksc5601.h,v 1.4 2001/08/09 19:14:09 dawes Exp $ */
+/* $XFree86: xc/lib/X11/lcUniConv/ksc5601.h,v 1.4tsi Exp $ */
/*
* KSC5601.1987-0
@@ -2966,7 +2966,7 @@ ksc5601_wctomb (conv_t conv, unsigned char *r, ucs4_t wc, int n)
{
if (n >= 2) {
const Summary16 *summary = NULL;
- if (wc >= 0x0000 && wc < 0x0460)
+ if (wc < 0x0460)
summary = &ksc5601_uni2indx_page00[(wc>>4)];
else if (wc >= 0x2000 && wc < 0x2670)
summary = &ksc5601_uni2indx_page20[(wc>>4)-0x200];
diff --git a/src/xlibi18n/lcUniConv/mulelao.h b/src/xlibi18n/lcUniConv/mulelao.h
index 2afd7b51..0e331f81 100644
--- a/src/xlibi18n/lcUniConv/mulelao.h
+++ b/src/xlibi18n/lcUniConv/mulelao.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/mulelao.h,v 1.3 2000/11/29 17:40:35 dawes Exp $ */
+/* $XFree86$ */
/*
* MULELAO-1
diff --git a/src/xlibi18n/lcUniConv/tatar_cyr.h b/src/xlibi18n/lcUniConv/tatar_cyr.h
index 53607005..5783fd92 100644
--- a/src/xlibi18n/lcUniConv/tatar_cyr.h
+++ b/src/xlibi18n/lcUniConv/tatar_cyr.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/tatar_cyr.h,v 1.3 2000/12/04 18:49:42 dawes Exp $ */
+/* $XFree86: xc/lib/X11/lcUniConv/tatar_cyr.h,v 1.2 2000/11/28 16:10:31 dawes Exp $ */
/*
* TATAR-CYR
diff --git a/src/xlibi18n/lcUniConv/tcvn.h b/src/xlibi18n/lcUniConv/tcvn.h
index f3d49755..eb80ab3f 100644
--- a/src/xlibi18n/lcUniConv/tcvn.h
+++ b/src/xlibi18n/lcUniConv/tcvn.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/tcvn.h,v 1.3 2000/11/29 17:40:35 dawes Exp $ */
+/* $XFree86$ */
/*
* TCVN-5712
diff --git a/src/xlibi18n/lcUniConv/tis620.h b/src/xlibi18n/lcUniConv/tis620.h
index beb7cd95..deda9769 100644
--- a/src/xlibi18n/lcUniConv/tis620.h
+++ b/src/xlibi18n/lcUniConv/tis620.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/tis620.h,v 1.4 2001/02/09 00:02:54 dawes Exp $ */
+/* $XFree86: xc/lib/X11/lcUniConv/tis620.h,v 1.3 2000/11/29 17:40:35 dawes Exp $ */
/*
* TIS620-0
diff --git a/src/xlibi18n/lcUniConv/ucs2be.h b/src/xlibi18n/lcUniConv/ucs2be.h
index af2a586b..ff9acc39 100644
--- a/src/xlibi18n/lcUniConv/ucs2be.h
+++ b/src/xlibi18n/lcUniConv/ucs2be.h
@@ -1,7 +1,7 @@
/*
* UCS-2BE = UCS-2 big endian
*/
-/* $XFree86: xc/lib/X11/lcUniConv/ucs2be.h,v 1.1 2000/11/28 17:25:09 dawes Exp $ */
+/* $XFree86$ */
static int
ucs2be_mbtowc (conv_t conv, ucs4_t *pwc, const unsigned char *s, int n)
diff --git a/src/xlibi18n/lcUniConv/utf8.h b/src/xlibi18n/lcUniConv/utf8.h
index fe189cc2..f8c2a7d8 100644
--- a/src/xlibi18n/lcUniConv/utf8.h
+++ b/src/xlibi18n/lcUniConv/utf8.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/utf8.h,v 1.3 2000/11/28 18:50:07 dawes Exp $ */
+/* $XFree86: xc/lib/X11/lcUniConv/utf8.h,v 1.2 2000/11/28 16:10:32 dawes Exp $ */
/*
* UTF-8
diff --git a/src/xlibi18n/lcUniConv/viscii.h b/src/xlibi18n/lcUniConv/viscii.h
index 9dffbf05..f7dfd447 100644
--- a/src/xlibi18n/lcUniConv/viscii.h
+++ b/src/xlibi18n/lcUniConv/viscii.h
@@ -1,4 +1,4 @@
-/* $XFree86: xc/lib/X11/lcUniConv/viscii.h,v 1.3 2000/11/29 17:40:35 dawes Exp $ */
+/* $XFree86$ */
/*
* VISCII1.1-1