1.安裝相應的語言包
yum?-y?install?kde-l10n-Chinese?&&?yum?-y?reinstall?glibc-common? localedef?-c?-f?UTF-8?-i?zh_CN?zh_CN.utf8? ?export?LC_ALL=zh_CN.utf8 ?vim?/etc/profile? ?export?LC_ALL=zh_CN.utf8? export.UTF-8? source?/etc/profile ?vim?/etc/locale.conf
2.在html的meta中指定使用的字符集
<meta>
?相關參考:centOS教程
立即學習“前端免費學習筆記(深入)”;
? 版權聲明
文章版權歸作者所有,未經允許請勿轉載。
THE END