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 is to share with you about how to solve the suse linux garbled problem. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.
Suse linux garbled solutions: 1, through the locale command to view the code; 2, modify the language file; 3, install zhcon;4, select "coding method" for GB2312 or GBK.
This article operating environment: linux5.9.8 system, Dell G3 computer.
Solving the problem of garbled codes in SUSE Linux
Question:
The program appears garbled when running on the X window terminal as well as on the console.
Solution:
1. Make sure that the internal code of the system is Chinese code, such as GBK,GB2312, etc. It can be viewed through the locale command, and if not, it can be modified. Start the Yast2 control center, open "system"-- > "/ etc/sysconfig Editor", expand the "System-> Environment-> Language" item, and change the value of all the items you start with RC to GB2312. (you can also modify the / etc/sysconfig/language file directly).
two。 Install zhcon Chinese plug-in.
Zhcon is an efficient double-byte China / Japan / Korea (CJK) virtual terminal working under the Linux console. Like UCDOS in the DOS environment, it provides a complete double-byte language environment for the console (console) environment. Please note before downloading and using: zhcon is not suitable for X Window terminals. Cxterm or rxvt can be selected as Chinese terminals in X Window. Zhcon is a plug-in platform, and unlike kernel Sinicization, there is no need to patch linux's kernel. Like ordinary linux software, you can easily install zhcon directly. After executing zhcon on the main console, you can enter the Chinese platform, or you can exit and return to the western language state at any time. Zhcon is free software that follows the principles of GPL, because there is no reason for anyone to pay for the use of their native language.
Official website: http://zhcon.sourceforge.net/index_cn.html, has both source and binary rpm packages.
After installing zhcon, first run it, zhcon, it will appear some prompt messages, it simulates a shell. Then run your own program, and the Chinese display will be normal.
3.X terminals under window
There is a Terminal option on the menu item. Choose GB2312 or GBK as the Encoding method to OK.
Thank you for reading! This is the end of the article on "how to solve the suse linux garbled problem". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!
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.