Should glibc provide a builtin C.UTF-8 locale?

Paul Eggert eggert@cs.ucla.edu
Tue Feb 17 15:54:00 GMT 2015


Mike Frysinger wrote:
> i also vaguely recall OS X supports something like this ?  should
> we proactively attempt to harmonize here ?

In OS X, the C locale uses UTF-8 but things are seriously confused: 
nl_langinfo(CODESET) returns "US-ASCII" and MB_CUR_MAX is 1, among other things. 
  See:

http://lists.gnu.org/archive/html/bug-gnulib/2012-01/msg00342.html

Perhaps an OS X expert can chime in, as I don't really understand what it's 
trying to do in this area.



More information about the Libc-alpha mailing list