ios - 请问命令行编码问题
PHP中文网
PHP中文网 2017-04-17 13:30:10
0
1
698

命令行工具 : iterm

原来没问题的,用了一次类似cleandisk这种软件,就打不了中文了,pry-console也打不了中文。

git diff中文显示如下,

iterm的编码已经是UTF-8了还是不行,请问怎么处理?

PHP中文网
PHP中文网

认证0级讲师

reply all(1)
刘奇

It has nothing to do with iterm. iterm will not split a character into encoding and display it. If the encoding is incorrect, it will directly display garbled characters

There is a problem with your git settings

git config --global i18n.commitencoding utf-8
git config --global i18n.logoutputencoding utf-8
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!