From 6b13d9d9ef19b7a5571edd420ca0c16e4986f9bb Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 23 Dec 2011 08:35:09 -0500 Subject: iconv mapping of U+0385 in TCVN5712-1 is incorrect --- iconvdata/tcvn5712-1.c | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'iconvdata') diff --git a/iconvdata/tcvn5712-1.c b/iconvdata/tcvn5712-1.c index c94dadb2e7..3cfdf468d9 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 , 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 -/* 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[] = { -- cgit 1.4.1