Solve the problem of Chinese garbled characters in Ubuntu11.10TXT

Source: Internet
Author: User
I installed Ubuntu11.10 today and found Chinese garbled characters when opening the TXT file. I checked it online. some netizens provided the following method: press Alt + F2 to open the "run application" dialog box, enter gconf-editor, press enter to open the configuration editor, expand/apps/gedit-2/prefer...

I installed Ubuntu11.10 today and found Chinese garbled characters when opening the TXT file. I checked it online. some netizens provided the following methods:

Press Alt + F2 to open the run Application dialog box, enter gconf-editor, press enter to open the configuration editor, expand the/apps/gedit-2/preferences/encodings node, open the "Edit key" dialog box for the auto_detected key, click "add", enter "GB2312", press enter, and then click "up" to move GB2312 to the first item. click "OK" to exit. When opening a file containing Chinese characters, no garbled characters will appear.

However, I followed the steps above and opened the "Configuration Manager" and found that there was no ecoding. I don't know why ....

No way, I had to go online to find the answer again. Fortunately, I found another method:

Enter sudo apt-get install dconf-tools on the terminal to install dconf-editor.

Then enter the command dconf-editor to open

Dconf-editor org ---> gnome ---> gedit ---> preferences ---> encodings ---> auto-detected

Add at the beginning

'Gb18030', 'gb2312', 'gbk ',

OK after cancellation

 

From downgrading?

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.