当前位置:网站首页>Rhel7 switch character encoding to GBK

Rhel7 switch character encoding to GBK

2022-06-11 03:27:00 ee230

build git The server , The Chinese notes are found to be garbled .


After repeated debugging and exploration , Just do the following .


Set to zh_CN.GBK


/etc/profile file

export LC_ALL="zh_CN.GBK"
export LANG="zh_CN.GBK"


/etc/locale.conf

LANG="zh_CN.GBK"


原网站

版权声明
本文为[ee230]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/162/202206110323062029.html