vi /etc/environment
add these lines...
LANG=en_US.utf-8
LC_ALL=en_US.utf-8
Alternatively,
- Create locale file manually:
localedef -i en_US -f UTF-8 en_US.UTF-8
Explained here
vi /etc/environment
add these lines...
LANG=en_US.utf-8
LC_ALL=en_US.utf-8
Alternatively,
localedef -i en_US -f UTF-8 en_US.UTF-8
Explained here
First option worked for me on a RHEL 7. Thanks!
Same iTerm2's question, Thanks!
Worked for me using iTerm2. Thanks!
Works like a charm, great answer!
Hi , this config can not fix my question
i try to do this, but can not success.
- add command to
/etc/environment
- add LC_ALL&LANG to
~/.zshrc
- add SendEnv to
/etc/ssh/ssh_config
At last, I find the question, it is because iTerm2, config profile/terminal/envionment => disable
Set lcoale variables automatically
Same iTerm2 issue, thanks!
This works like a charm!
Create locale file manually:
localedef -i en_US -f UTF-8 en_US.UTF-8
Thanks
- add SendEnv to
/etc/ssh/ssh_config
Please what do we mean exactly by SendEnv?
Same iTerm2's question, Thanks!