public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug localedata/2413] New: gencat treats second 0x5c byte _JP.sjis sequence as continuation
@ 2006-03-02 22:58 pmbrett at us dot ibm dot com
  2006-05-02  3:24 ` [Bug localedata/2413] " drepper at redhat dot com
  0 siblings, 1 reply; 2+ messages in thread
From: pmbrett at us dot ibm dot com @ 2006-03-02 22:58 UTC (permalink / raw)
  To: glibc-bugs

In the simple ja_JP.sjis message file

$ /bin/echo -e "1 \224\\" >/tmp/tt

$ hdump /tmp/tt                   
00000000 31 20 94 5C 0A                                  1 .\.

gencat gives an error 

$ LANG=ja_JP.sjis gencat --new /tmp/tt.out /tmp/tt
/tmp/tt:1: invalid character: message ignored

This input file contains a single message numbered 1 containing the SJIS 
character represented by the double byte sequence 0x94 0x5C

The 0x5C seems to be treated as an ASCII backslash which is a continutation 
char in gencat

-- 
           Summary: gencat treats second 0x5c byte _JP.sjis sequence as
                    continuation
           Product: glibc
           Version: 2.3.3
            Status: NEW
          Severity: normal
          Priority: P2
         Component: localedata
        AssignedTo: libc-locales at sources dot redhat dot com
        ReportedBy: pmbrett at us dot ibm dot com
                CC: glibc-bugs at sources dot redhat dot com,rsa at us dot
                    ibm dot com,sjmunroe at us dot ibm dot com
 GCC build triplet: x86_64
  GCC host triplet: x86_64
GCC target triplet: x86_64


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

* [Bug localedata/2413] gencat treats second 0x5c byte _JP.sjis sequence as continuation
  2006-03-02 22:58 [Bug localedata/2413] New: gencat treats second 0x5c byte _JP.sjis sequence as continuation pmbrett at us dot ibm dot com
@ 2006-05-02  3:24 ` drepper at redhat dot com
  0 siblings, 0 replies; 2+ messages in thread
From: drepper at redhat dot com @ 2006-05-02  3:24 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2006-05-02 03:24 -------
You cannot use SJIS as a locale, it is not ASCII-safe.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |INVALID


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

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


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

end of thread, other threads:[~2006-05-02  3:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-03-02 22:58 [Bug localedata/2413] New: gencat treats second 0x5c byte _JP.sjis sequence as continuation pmbrett at us dot ibm dot com
2006-05-02  3:24 ` [Bug localedata/2413] " drepper 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).