WSL2 设置中文显示

  1. 安装语言包

     sudo apt-get -y install locales xfonts-intl-chinese fonts-wqy-microhei

     

  2. 语言环境设置

     sudo dpkg-reconfigure locales

     

    使用空格键选中en_US.UTF-8 UTF-8zh_CN.UTF-8 UTF-8,使用Tab键切换至OK,再将zh_CN.UTF-8 UTF-8选为默认。

     

posted @ 2023-02-27 18:07  liu-huan  阅读(751)  评论(0编辑  收藏  举报