解決ubuntu下終端無法正確顯示GBK編碼的問題

打開配置文件

# vim /var/lib/locales/supported.d/zh-hans

添加如下兩行內容

zh_CN.GBK GBK
zh_CN.GB2312 GB2312

應用設置

# dpkg-reconfigure --force locales

Leave a Reply

Your email address will not be published. Required fields are marked *

Captcha Code