0
点赞
收藏
分享

微信扫一扫

8.0 Zookeeper 四字命令教程详解

代码敲到深夜 02-12 20:00 阅读 7
debianlinux

  开发板上的debian默认不显示中文。

  • 安装字体
sudo apt install fonts-wqy-zenhei
  • 安装locals
sudo apt install locales
  • (无必要)设置/etc/locale.gen、设置/etc/locale.conf
  • 运行dpkg-reconfigure locales
dpkg-reconfigure locales 

 可以选择UTF-8

 用TAB切换到OK

 用TAB切换到OK

  • 重启(必须)
  • 检查
$ locale

LANG=zh_CN.UTF-8
LANGUAGE=
LC_CTYPE="zh_CN.UTF-8"
LC_NUMERIC="zh_CN.UTF-8"
LC_TIME="zh_CN.UTF-8"
LC_COLLATE="zh_CN.UTF-8"
LC_MONETARY="zh_CN.UTF-8"
LC_MESSAGES="zh_CN.UTF-8"
LC_PAPER="zh_CN.UTF-8"
LC_NAME="zh_CN.UTF-8"
LC_ADDRESS="zh_CN.UTF-8"
LC_TELEPHONE="zh_CN.UTF-8"
LC_MEASUREMENT="zh_CN.UTF-8"
LC_IDENTIFICATION="zh_CN.UTF-8"
LC_ALL=
举报
0 条评论