This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug localedata/13062] New: iconv mapping of U+0385 in TCVN5712-1 is incorrect


http://sourceware.org/bugzilla/show_bug.cgi?id=13062

           Summary: iconv mapping of U+0385 in TCVN5712-1 is incorrect
           Product: glibc
           Version: 2.14
            Status: NEW
          Severity: normal
          Priority: P2
         Component: localedata
        AssignedTo: libc-locales@sources.redhat.com
        ReportedBy: bruno@clisp.org


Bug 12777 fixed the mapping of U+0385 in CP1258.
But the same mistake exists in the source code of the TCVN5712-1 converter,
which was derived from the CP1258 converter. Fortunately no bug is visible
here, because U+00A5 and U+00A8 are not representable in the TCVN5712-1
encoding:

$ printf '\x00\x00\x00\xa5' | iconv -f UCS-4BE -t TCVN5712-1 | od -t x1
iconv: (stdin):1:0: cannot convert
0000000
$ printf '\x00\x00\x00\xa8' | iconv -f UCS-4BE -t TCVN5712-1 | od -t x1
iconv: (stdin):1:0: cannot convert
0000000

Nevertheless it's a good idea to clean up this unused composition table entry.

Patch attached.

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]