Solve the Problem of garbled Chinese characters in the txt files saved in windows on ubuntu.
Source: Internet
Author: User
Solve the Problem of garbled Chinese characters in the txt files stored in windows in ubuntu-general Linux technology-Linux technology and application information. The following is a detailed description. The solution is as follows:
【
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.
Enter at the terminal:
Gconf-editor
Call 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, GB2312 to the top (do not move to the top, move to the second, otherwise the blank text file will not be opened)
Then confirm to exit.
(From: http://www.ylmf.net/read.php? Tid = 1613293)
]
The problem is I did according to the above, but can only open in turn: apps-> gedit-2-> preferences, found that there is no encodings file, as shown in, please help analyze the reason, thanks!
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