更新时间:2022-12-28 23:41:23
运行以下命令
export LC_ALL="en_US.UTF-8"
export LC_CTYPE="en_US.UTF-8"
sudo dpkg-reconfigure locales
它将解决此问题.
确保将.UTF-8
部分与locale -a
输出中找到的实际语法匹配,例如.utf8
在某些系统上.
Make sure to match the .UTF-8
part to the actual syntax found in the output of locale -a
e.g. .utf8
on some systems.