This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libc/13757] mbstowcs(3) unable to handle 8bit characters.


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]