Ubuntu解决中文乱码

Posted zdj8023

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了Ubuntu解决中文乱码相关的知识,希望对你有一定的参考价值。

gsettings set org.gnome.gedit.preferences.encodings candidate-encodings "[‘GB18030‘, ‘UTF-8‘, ‘CURRENT‘, ‘ISO-8859-15‘, ‘UTF-16‘]"

直接在终端输入上面的代码就行了

 

转自: https://blog.csdn.net/qq_32074689/article/details/89685123

 

以上是关于Ubuntu解决中文乱码的主要内容,如果未能解决你的问题,请参考以下文章

Ubuntu解决中文乱码

解决ubuntu中zip解压的中文乱码问题

ubuntu文本模式/终端中文乱码解决

解决Ubuntu下vscode中zsh乱码的问题

解决Ubuntu显示中文乱码的问题

Ubuntu中MySQL中文乱码解决