On 02/01/13 13:52, Reuben Thomas wrote: > how about using a known unibyte-locale such as an ISO8859 one? Or is > the problem then that there's none that can be guaranteed to exist?
Yes, that's the problem. POSIX does not require the existence of any unibyte locale. Even the C locale might be multibyte, and is multibyte, at least on OS X systems.