How to display garbled characters in Chinese for TXT files in Ubuntu [reprinted]

Source: Internet
Author: User

Address: http://apps.hi.baidu.com/share/detail/10311333

After Ubuntu is installed, open the TXT file in windows and you will find that Chinese characters cannot be displayed, resulting in a large number of garbled characters.
In this case, you need to set it.
On the terminal:
Gconf-Editor // call up gconf-Edit
Then, click:
Apps-> gedit-2-> preferences-> encodings
Double-click auto-detected in encodings
In the displayed dialog box, add
Gb18030, GBK, gb2312

Move gb18030 and gb2312 to the top

Then confirm to exit.

Look
Before Solution

After solution

From: http://hi.baidu.com/little%D5%C1/blog/item/41fec93dc789d2e055e723f2.html

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.