public inbox for libc-locales@sourceware.org
 help / color / mirror / Atom feed
* [Bug localedata/12814] New: ISO-2022-JP-2 conversion of U+20AC gives strange result
@ 2011-05-27  8:31 glibcbugz at ghalkes dot nl
  2011-05-28 13:43 ` [Bug localedata/12814] " drepper.fsp at gmail dot com
  2014-06-27 13:35 ` fweimer at redhat dot com
  0 siblings, 2 replies; 3+ messages in thread
From: glibcbugz at ghalkes dot nl @ 2011-05-27  8:31 UTC (permalink / raw)
  To: libc-locales

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

           Summary: ISO-2022-JP-2 conversion of U+20AC gives strange
                    result
           Product: glibc
           Version: 2.13
            Status: NEW
          Severity: normal
          Priority: P2
         Component: localedata
        AssignedTo: libc-locales@sources.redhat.com
        ReportedBy: glibcbugz@ghalkes.nl


When trying to convert U+20AC (EURO SIGN) to ISO-2022-JP I get the following
sequence of bytes: 1B 2E 46 1B 4E A4 1B 24 28 43 22 66 1B 28 42. This is not
correct. The correct sequence is either 1B 2E 46 1B 4E 24 (which is equal to
the first part of the returned sequence with the caveat that the last byte has
its high bit reset), or 1B 24 28 43 22 66 1B 28 42 (the second part of the
returned sequence).

The first sequence uses the ISO-8859-7 set to encode the Euro sign, while the
second sequence uses the KSC 5601 set. Either would be correct (although
strictly speaking neither is, because the officially mandated sets are the
versions before the Euro update).

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug localedata/12814] ISO-2022-JP-2 conversion of U+20AC gives strange result
  2011-05-27  8:31 [Bug localedata/12814] New: ISO-2022-JP-2 conversion of U+20AC gives strange result glibcbugz at ghalkes dot nl
@ 2011-05-28 13:43 ` drepper.fsp at gmail dot com
  2014-06-27 13:35 ` fweimer at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: drepper.fsp at gmail dot com @ 2011-05-28 13:43 UTC (permalink / raw)
  To: libc-locales

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

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 #1 from Ulrich Drepper <drepper.fsp at gmail dot com> 2011-05-28 12:11:45 UTC ---
git contains a fix.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug localedata/12814] ISO-2022-JP-2 conversion of U+20AC gives strange result
  2011-05-27  8:31 [Bug localedata/12814] New: ISO-2022-JP-2 conversion of U+20AC gives strange result glibcbugz at ghalkes dot nl
  2011-05-28 13:43 ` [Bug localedata/12814] " drepper.fsp at gmail dot com
@ 2014-06-27 13:35 ` fweimer at redhat dot com
  1 sibling, 0 replies; 3+ messages in thread
From: fweimer at redhat dot com @ 2014-06-27 13:35 UTC (permalink / raw)
  To: libc-locales

https://sourceware.org/bugzilla/show_bug.cgi?id=12814

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |security-

-- 
You are receiving this mail because:
You are the assignee for the bug.

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-06-27 13:35 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-27  8:31 [Bug localedata/12814] New: ISO-2022-JP-2 conversion of U+20AC gives strange result glibcbugz at ghalkes dot nl
2011-05-28 13:43 ` [Bug localedata/12814] " drepper.fsp at gmail dot com
2014-06-27 13:35 ` fweimer at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).