This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug localedata/714] New: mbrtowc() returns -2 for 3-byte EUC-JP and 4-byte EUC-TW characters
- From: "futhark at users dot sourceforge dot net" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 11 Feb 2005 00:08:38 -0000
- Subject: [Bug localedata/714] New: mbrtowc() returns -2 for 3-byte EUC-JP and 4-byte EUC-TW characters
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
When I call mbrtowc() one byte at a time for 3-byte EUC-JP sequences (JIS X
0212) or 4-byte EUC-TW sequences, it always returns -2, even when the character
is complete. If I call mbrtowc() with all the bytes at once, then it returns the
correct value.
I will attach an example program.
--
Summary: mbrtowc() returns -2 for 3-byte EUC-JP and 4-byte EUC-TW
characters
Product: glibc
Version: 2.3.4
Status: NEW
Severity: normal
Priority: P2
Component: localedata
AssignedTo: pere at hungry dot com
ReportedBy: futhark at users dot sourceforge dot net
CC: glibc-bugs at sources dot redhat dot com
http://sources.redhat.com/bugzilla/show_bug.cgi?id=714
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.