现象:
ubuntu@oracle:~$ pu .vimrc
Error: "\xE6" on US-ASCII
用export LC_ALL="en_US.UTF-8"
尝试fail
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
ubuntu@oracle:~$ locale
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
LANG=C.UTF-8
LANGUAGE=
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8
ubuntu@oracle:~$ pu .vimrc
解决方法
They should disappear after issuing:
sudo locale-gen en_US en_US.UTF-8
sudo dpkg-reconfigure locales
>>>>>>>>>>>> [解决gist工具上传code乱码异常问题.md describe start] >>>>>>>>>>>>
\_\*\_ coding: utf-8\ _\*\_
\# @File : 解决gist工具上传code乱码异常问题.md
\# @Version : version1.0
\# @Author : 88.uy
\# @Email : admin@88.uy
\# @Time : 210126210944
\# @Description:
<<<<<<<<<<<< [解决gist工具上传code乱码异常问题.md describe end] <<<<<<<<<<<<
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
暂无评论内容