Linux修改UTF8字符編碼


使用utf8參考以下方法操作一下
編輯 /etc/sysconfig/il8n 
添加
LANG="zh_CN.UTF-8"
LC_ALL="zh_CN.UTF-8"
執行source  /etc/sysconfig/i18n
編輯 /root/.bash_profile
添加
export LC_ALL="zh_CN.UTF-8"
export LANG="zh_CN.UTF-8"
source   /root/.bash_profile


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM