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

View: New views
3 Messages — Rating Filter:   Alert me  

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

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

| View Threaded | Show Only this Message

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@...
        ReportedBy: bruno@...


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 the assignee for the bug.

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

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

| View Threaded | Show Only this Message

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

--- Comment #1 from Bruno Haible <bruno at clisp dot org> 2011-08-06 16:51:38 UTC ---
Created attachment 5879
  --> http://sourceware.org/bugzilla/attachment.cgi?id=5879
proposed fix

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

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

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

| View Threaded | Show Only this Message

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

Ulrich Drepper <drepper.fsp at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |drepper.fsp at gmail dot
                   |                            |com
         Resolution|                            |FIXED

--- Comment #2 from Ulrich Drepper <drepper.fsp at gmail dot com> 2011-12-23 13:35:48 UTC ---
I added the patch.

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