|
Message-ID: <20160602150315.GK10893@brightrain.aerifal.cx> Date: Thu, 2 Jun 2016 11:03:15 -0400 From: Rich Felker <dalias@...c.org> To: musl@...ts.openwall.com Subject: Re: How to set UTF-8 as default On Thu, Jun 02, 2016 at 04:50:13PM +0200, FRIGN wrote: > 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 This isn't necessary and will possibly do more than the user wants in the future, once LC_MONETARY and LC_COLLATE have non-stub functionality. Wanting UTF-8 to work does not mean you want US dollars or English collation order, etc. Rich
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.