How to view Garbled text files in Windows in ubuntu
Source: Internet
Author: User
In Ubuntu, you can view some text files generated from the window system in the English locate. It is possible that all the text files generated from the window system are garbled when opened using gedit. Today, you have read the files using gedit-h, there is an option -- encoding in it, so run gedit -- encoding = gbk in the terminal to open gedit, drag the file into it, and find that the display is still garbled. It seems that this is not the case. Next, use another method, "gedit -- encoding = gbk file in Ubuntu, view some text files generated from the window system under the English locate, it may be garbled when you use gedit to open it. Today, we checked it with gedit-h. One option in it is -- encoding, run gedit -- encoding = gbk in the terminal to open gedit, and drag the file into it. It seems that the display is still garbled.
Next, use another method, "gedit -- encoding = gbk File". When the file is opened, the system displays Chinese characters. After the file is closed, double-click the file and open it with gedit. It is displayed very well at this time, no garbled characters appear. It seems that you only need to execute "gedit -- encoding = gbk file" once, and you will not need to execute it again later.
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.