MattD
deepin
2016-08-03 23:26 先用Copy the Code确认下这个locale是不是存在。
另外,貌似locale-gen后面的参数都会被忽略,它只会读取/etc/locale.gen里面的配置并生成相应的locale。
- $ locale -a
另外,貌似locale-gen后面的参数都会被忽略,它只会读取/etc/locale.gen里面的配置并生成相应的locale。
Reply Like 0 View the author


中文 


en_US.UTF-8... done
zh_CN.UTF-8... done
Generation complete.
root@huang:/home/huang# dpkg-reconfigure locales
root@huang:/home/huang# locale-gen zh_CN.GB18030
Generating locales (this might take a while)...
en_US.UTF-8... done
zh_CN.UTF-8... done
Generation complete.
root@huang:/home/huang# locale-gen zh_CN.GBK
Generating locales (this might take a while)...
en_US.UTF-8... done
zh_CN.UTF-8... done
Generation complete.
一直增加不进去GB18030,求大神帮忙