OS X Terminal UTF-8 issues

后端 未结 11 2273
忘了有多久
忘了有多久 2020-11-27 14:56

Okay, so I finally got myself a MacBook Air after 15 years of linux. And before I got it my big concern was UTF-8 support because no matter if I get files sent to me from wi

11条回答
  •  悲&欢浪女
    2020-11-27 15:47

    For me, this helped: I checked locale on my local shell in terminal

    $ locale
    LANG="cs_CZ.UTF-8"
    LC_COLLATE="cs_CZ.UTF-8"
    

    Then connected to any remote host I am using via ssh and edited file /etc/profile as root - at the end I added line:

    export LANG=cs_CZ.UTF-8
    

    After next connection it works fine in bash, ls and nano.

提交回复
热议问题