- 设置 gedit /var/lib/locales/supported.d/local 如下
zh_CN.UTF-8 UTF-8
en_US.UTF-8 UTF-8
zh_CN.GBK GBK
zh_CN.GB2312 GB2312
- 重新配置
dpkg-reconfigure --force locales
- 设置 Eclipse window->preference->general->workspace->GBK
zh_CN.UTF-8 UTF-8
en_US.UTF-8 UTF-8
zh_CN.GBK GBK
zh_CN.GB2312 GB2312
dpkg-reconfigure --force locales