This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug libc/13757] mbstowcs(3) unable to handle 8bit characters.
- From: "sdrake at xnet dot co.nz" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Wed, 29 Feb 2012 05:54:36 +0000
- Subject: [Bug libc/13757] mbstowcs(3) unable to handle 8bit characters.
- Auto-submitted: auto-generated
- References: <bug-13757-131@http.sourceware.org/bugzilla/>
http://sourceware.org/bugzilla/show_bug.cgi?id=13757
--- Comment #4 from Steven Drake <sdrake at xnet dot co.nz> 2012-02-29 05:54:36 UTC ---
(In reply to comment #1)
> You need to use a locale that defines a meaning to this byte. The default
> (ASCII) locale doesn't.
Thats wrong, 'locale charmap' gives 'ANSI_X3.4-1968' and there lies the
problem, the charmap for the 'C' locale should probable be ISO-8896-1.
To be more accurate it should be the charmap that is used by system
calls (e.g. readdir and readlink).
--
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.