mac locales

Elan Ruusamäe glen at pld-linux.org
Tue Jul 12 00:31:28 CEST 2016


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 have "C.UTF-8"

or

b) update /etc/profile.d/lang.sh to change "UTF-8" -> "C.UTF-8" when 
inheriting env from ssh session

>
> http://stackoverflow.com/questions/7165108/in-osx-lion-lang-is-not-set-to-utf8-how-fix
> http://www.cyberciti.biz/faq/os-x-terminal-bash-warning-setlocale-lc_ctype-cannot-change-locale/
> https://blog.hqcodeshop.fi/archives/56-Mac-OS-X-terminal-UTF-8-over-SSH.html
> http://thomas-cokelaer.info/blog/2013/06/python-valueerror-unknown-locale-utf-8/
>
> - apparently this is OSX intristic problem.
>


-- 
glen



More information about the pld-devel-en mailing list