Under the ubuntu gedit default encoding settings under the ubuntu gedit default encoding for UTF-8, while in the windows compiled txt default encoding bit GBK, so in windowx txt opened with getdit is garbled, solution: enter gsettingssetorg. gnome. gedit. pr... under the ubuntu gedit default encoding settings under the ubuntu gedit default encoding for UTF-8, while in the windows compiled txt default encoding bit GBK, so in windowx txt opened with getdit is garbled, solution: enter gsettings set org. gnome. gedit. preferences. encodings auto-detected "['utf-8', 'gb18030', 'gb2312', 'gbk', 'big5', 'current ', 'utf-16'] "and then enter: gsetti Ngs set org. gnome. gedit. preferences. encodings shown-in-menu "['utf-8', 'gb18030', 'gb2312', 'gbk', 'big5', 'current ', 'utf-16'] "This is set under the terminal. on the GUI, run the following command on the install dconf-editor sudo apt-get install dconf-tools terminal: $ dconf-editor click open-> org-> gnome-> gedit-> preferences-> encodings, but I changed the parameter value in it, and the final result is still ineffective. The reason is unknown, but here we can see what the default encoding is.
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