Ubuntu gedit Chinese garbled solution, ubuntugedit

Source: Internet
Author: User

Ubuntu gedit Chinese garbled solution, ubuntugedit

  • Install the gconf-editor package
Sudo apt-get install gconf-editor
  • Run the gconf-editor program on the command line to enable the editor configuration interface.
Gconf-editor


Choose apps-> gedit-2-> preferences-> encodings, double-click the auto_detected option in the list on the right, open the Edit Key settings page, and click Add, add a new encoding method.

In versions earlier than 1204, this can be done .... However, I am currently using 1204, and there is no encodings option...
Use the command line!
Enter:

Gsettings set org. gnome. gedit. preferences. encodings auto-detected "['utf-8', 'gb18030', 'gb2312', 'gbk', 'big5', 'current', 'utf-16']"

Then use gedit to open the file. Chinese garbled file solved

Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.