In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-04 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly introduces the Linux Chinese text of the Chinese garbled solution, the article introduces in great detail, has a certain reference value, interested friends must read it!
The solution to the Chinese garbled code of the Chinese text in Linux: first open the terminal and enter the directory where the file is located, and then use the command character to convert [a.hpp] encoded by gb18030 into [b.hpp] of utf8.
Solution to Chinese garbled code in Linux Chinese text:
Method A (single file setting)
1. Open the terminal and go to the directory where the file is located.
two。 Use command character
$iconv-f gb18030-t utf8 a.hpp-o b.hpp
Convert a.hpp encoded by gb18030 into b.hpp of utf8. In this way, b.hpp becomes the encoding supported by Linux. Set up.
Method B (overall setting)
1. Open the terminal, execute the following command, and open the environment settings interface:
$gconf-editor
If prompted that gconf-editor is not installed, install it with apt-get, with the following command:
Sudo apt-get install gconf-editor
two。 Expand "/ apps/gedit-2/preferences/encodings/" in turn, edit "auto_detected" on the right to add "gb18030" to the top. Set up.
The above is all the contents of the solution to the Chinese garbled code of the Chinese text of Linux. Thank you for your reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.