LINUX字符集

查看Linux系統字符集spa

  1. [root@localhost ~]# echo $LANG

修改Linux系統字符集


  1. [root@localhost sysconfig]# cd /etc/sysconfig/
    [root@localhost sysconfig]# vi i18n


修改成:LANG=」zh_CN.GBK」

保存退出(wq)

若從新啓動系統界面出現亂碼,在系統安裝安裝找到it


  1. fonts-chinese-3.02-12.el5.noarch.rpm
    fonts-ISO8859-2-75dpi-1.0-17.1.noarch.rpm


若重啓若是仍是亂碼,進入fonts安裝路徑class


  1. [root@localhost ~]# cd /usr/share/fonts/
    [root@localhost ~]# fc-cache -fv


重啓亂碼

相關文章
相關標籤/搜索