Date: Thu, 2 Jun 2016 16:50:13 +0200 From: FRIGN <dev@...gn.de> To: musl@...ts.openwall.com Subject: Re: How to set UTF-8 as default On Thu, 2 Jun 2016 13:05:40 +0200 Remko Tronçon <remko@...tramo.be> wrote: Hey Remko, > I tried setting LC_CTYPE and LC_ALL to C.UTF-8, but this doesn't seem to > get picked up by `nl_langinfo` (or by `setlocale(LC_CTYPE, NULL)`). yeah, because that's wrong. You either use the C-locale (ASCII international) or use the locales standard definition using e.g. en_US.UTF-8. To get a "clean" UTF-8 environment, use (provided you have locales) export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 export LANGUAGE=en_US.UTF-8 Cheers FRIGN -- FRIGN <dev@...gn.de>
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.