Debian 中文乱码 设置中文

1. sudo apt-get install locales

2. sudo dpkg-reconfigure locales

勾选 zh_CN.UTF-8

3. sudo locale-gen

4. sudo apt-get install ttf-wqy-zenhei(安装字体)

5. sudo nano /etc/default/locale

# File generated by update-locale

LANGUAGE=zh_CN.UTF-8
LANG=zh_CN.UTF-8
LC_MESSAGES=zh_CN.UTF-8
LC_ALL=zh_CN.UTF-8


————————————————
原文链接:https://blog.csdn.net/joshua0137/article/details/123248187

posted @ 2022-09-05 10:37  xYzDl  阅读(877)  评论(0)    收藏  举报