1.安裝相應(yīng)的語言包
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>
?相關(guān)參考:centOS教程
立即學習“前端免費學習筆記(深入)”;
? 版權(quán)聲明
文章版權(quán)歸作者所有,未經(jīng)允許請勿轉(zhuǎn)載。
THE END