Mac iTerm Chinese garbled

First, change the system configuration mac

Distortion generated by this situation, the system is likely to be updated mac resulting
1.vim ~ / .zshrc

2. Add the contents of the file tip:
Export the LC_ALL = the en_US.UTF. 8-
Export. 8-the en_US.UTF the LANG =

3.source ~/.zshrc

Second, modify its configuration iTerm2
this case, since the encoding itself cause iTerm2:
Here Insert Picture Description
Here Insert Picture Description

Published 55 original articles · won praise 14 · views 20000 +

Guess you like

Origin blog.csdn.net/qq422243639/article/details/100181269