Solve the problem of opening txt file garbled characters in ubuntu

Source: Internet
Author: User
Ubuntu open txt file garbled solution one: terminal input gconf-editor to call up the gconf-editwww.2cto.com (if not installed, please use sudoapt-getinstallgconf-editor command installation) PS: enter gconf-editor, you do not need to add Sudo according...
Solution 1: enter gconf-editor on the terminal to bring up gconf-edit www.2cto.com (if not installed, use the sudo apt-get install gconf-editor command to install it) PS: enter gconf-editor, and then click auto-detected in apps> gedit-2> preferences> encodings without adding GB18030, GBK, GB2312, then, move GB18030 and GB2312 to the top. Method 2: enter sudo apt-get install dconf-tools on www.2cto.com, enter sudo dconf-editor to bring up dconf-editor, and open the au in org-> gnome-> gedit-> prefrences-> encoding. Change the value of to-detected to: ['gb18030', 'gb2312', 'gbk', 'utf-8', 'current', 'ISO-885915 ', 'utf-16'], just press enter to save it !! I personally prefer to use the second method! Because the newly installed gconf-editor of ubuntu does not contain auto-detected, it is generally not set for beginners!
 

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.