aboutsummaryrefslogtreecommitdiff
path: root/iconvdata/tcvn5712-1.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2011-12-23 08:35:09 -0500
committerUlrich Drepper <drepper@gmail.com>2011-12-23 08:35:09 -0500
commit6b13d9d9ef19b7a5571edd420ca0c16e4986f9bb (patch)
tree4a13b571015bd14058876bc10e9036e88f8af180 /iconvdata/tcvn5712-1.c
parent6b64057b1f948ff2f59f46a7164c4824fae98581 (diff)
downloadglibc-6b13d9d9ef19b7a5571edd420ca0c16e4986f9bb.zip
glibc-6b13d9d9ef19b7a5571edd420ca0c16e4986f9bb.tar.gz
glibc-6b13d9d9ef19b7a5571edd420ca0c16e4986f9bb.tar.bz2
iconv mapping of U+0385 in TCVN5712-1 is incorrect
Diffstat (limited to 'iconvdata/tcvn5712-1.c')
-rw-r--r--iconvdata/tcvn5712-1.c9
1 files changed, 4 insertions, 5 deletions
diff --git a/iconvdata/tcvn5712-1.c b/iconvdata/tcvn5712-1.c
index c94dadb..3cfdf46 100644
--- a/iconvdata/tcvn5712-1.c
+++ b/iconvdata/tcvn5712-1.c
@@ -1,5 +1,5 @@
/* Conversion to and from TCVN5712-1.
- Copyright (C) 2001, 2002, 2004 Free Software Foundation, Inc.
+ Copyright (C) 2001, 2002, 2004, 2011 Free Software Foundation, Inc.
This file is part of the GNU C Library.
Contributed by Ulrich Drepper <drepper@redhat.com>, 2001.
@@ -158,7 +158,7 @@ static const struct
{ 0x01AF, 0x1EEA },
{ 0x01B0, 0x1EEB },
#define COMP_TABLE_IDX_0301 (COMP_TABLE_IDX_0300 + COMP_TABLE_LEN_0300)
-#define COMP_TABLE_LEN_0301 51
+#define COMP_TABLE_LEN_0301 50
{ 0x0041, 0x00C1 },
{ 0x0043, 0x0106 },
{ 0x0045, 0x00C9 },
@@ -193,8 +193,7 @@ static const struct
{ 0x0077, 0x1E83 },
{ 0x0079, 0x00FD },
{ 0x007A, 0x017A },
- { 0x00A5, 0x0385 },
- /*{ 0x00A8, 0x1FEE },*/
+ /*{ 0x00A8, 0x0385 },*//* prefer U+0385 over U+1FEE */
{ 0x00C2, 0x1EA4 },
/*{ 0x00C5, 0x01FA },*/
/*{ 0x00C6, 0x01FC },*/
@@ -492,7 +491,7 @@ static const struct
#include <iconv/loop.c>
-/* Next, define the conversion function from UCS4 to CP1258. */
+/* Next, define the conversion function from UCS4 to TCVN5712-1. */
static const unsigned char from_ucs4[] =
{