Re: mac locales

2016-07-11 Thread Tomasz Pala
On Tue, Jul 12, 2016 at 08:20:02 +0200, Tomasz Pala wrote: >> b) update /etc/profile.d/lang.sh to change "UTF-8" -> "C.UTF-8" when >> inheriting env from ssh session > > Just put it in your OSX. OK, maybe some more explanation here - there are many cases when ssh-inherited locales might be inva

Re: mac locales

2016-07-11 Thread Tomasz Pala
On Tue, Jul 12, 2016 at 01:31:28 +0300, Elan Ruusamäe wrote: > b) update /etc/profile.d/lang.sh to change "UTF-8" -> "C.UTF-8" when > inheriting env from ssh session Just put it in your OSX. -- Tomasz Pala ___ pld-devel-en mailing list pld-devel-en@

Re: mac locales

2016-07-11 Thread Jakub Bogusz
On Tue, Jul 12, 2016 at 01:31:28AM +0300, Elan Ruusamäe wrote: > On 12.07.2016 00:30, Tomasz Pala wrote: > >On Tue, Jul 12, 2016 at 00:20:12 +0300, Elan Ruusamäe wrote: > > > >>OSX sets locale var just to "UTF-8" and we don't have such locale > >> > >>how do you propose to fix this? > >We simply do

Re: mac locales

2016-07-11 Thread Elan Ruusamäe
On 12.07.2016 00:30, Tomasz Pala wrote: On Tue, Jul 12, 2016 at 00:20:12 +0300, Elan Ruusamäe wrote: OSX sets locale var just to "UTF-8" and we don't have such locale how do you propose to fix this? We simply don't. i was more thinking should the fix be: a) generate "UTF-8" locale like we

Re: mac locales

2016-07-11 Thread Tomasz Pala
On Tue, Jul 12, 2016 at 00:20:12 +0300, Elan Ruusamäe wrote: > OSX sets locale var just to "UTF-8" and we don't have such locale > > how do you propose to fix this? We simply don't. http://stackoverflow.com/questions/7165108/in-osx-lion-lang-is-not-set-to-utf8-how-fix http://www.cyberciti.biz/f

mac locales

2016-07-11 Thread Elan Ruusamäe
OSX sets locale var just to "UTF-8" and we don't have such locale how do you propose to fix this? root@pld64# locale locale: Cannot set LC_CTYPE to default locale: No such file or directory locale: Cannot set LC_ALL to default locale: No such file or directory LANG= LC_CTYPE=UTF-8 LC_NUMERIC="P