In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces "what to do if Chinese still displays garbled codes after configuring Chinese language packs under linux". In daily operation, it is believed that many people have doubts about how to display garbled codes after configuring Chinese language packs under linux. The editor consulted all kinds of materials and sorted out simple and easy-to-use operation methods. I hope it will be helpful for you to answer the question of "how to display garbled codes after configuring Chinese language packs under linux"! Next, please follow the editor to study!
Chinese display garbled configuration under linux. If English is configured, it needs to be changed to Chinese language, but sometimes we explicitly configure Chinese language packs, that is, whether zh.cn_utf-8 is configured or Chinese garbled is displayed. Garbled code is displayed when entering the command ll, or garbled when editing vi and also garbled when entering Chinese, as shown in the figure
1. Check the current language command under linux: echo $LANG
2. View the current language command under linux: locale
3. Modify the system language pack to change zh_CN.UTF-8 to zh_CN.GB18030
Enter commands such as vi / etc/sysconfig/i18n (note that the system must be rebooted after modification)
4. Before restart, you can enter the command whether it is valid under pre-execution.
Enter the command: LANG = "zh_CN.GB18030" (note that spaces are removed before and after the = sign)
5. Depending on the effect, Chinese is displayed after ll and edited by vi. You can also enter Chinese.
At this point, the study of "how to display garbled codes after configuring Chinese language packs under linux" is over. I hope to be able to solve your doubts. The collocation of theory and practice can better help you learn, go and try it! If you want to continue to learn more related knowledge, please continue to follow the website, the editor will continue to work hard to bring you more practical articles!
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.