Why does servicenetworkrestart contain garbled codes and cannot connect to the Internet? # echo $ LANG: check your code and check whether your system lacks certain fonts (Chinese, etc.) # yumsearchfonts, this will affect the display of text. garbled characters appear in exportLANG = e service network restart.
Why is there gibberish and no internet connection?
------ Solution --------------------
# Echo $ LANG
Check your code and see if your system lacks some fonts (Chinese, etc)
# Yum search fonts
------ Solution --------------------
This will affect text display,
------ Solution --------------------
Export LANG = en_US.utf8
Use secureCRT ssh to log on.
------ Solution --------------------
The client encoding also affects the display. ,
SecureCRT or putty have set display encoding, unified settings for UTF-8
------ Solution --------------------
1. your character set
2. your library
3. set the character set of your ssh client
4. set the font of your ssh client
The question mark is usually because the character set is changed to Chinese, but there is no Chinese font
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.