What should I do if kali linux has garbled characters?
1. Make sure locales have been installed and use the "apt-get install locales" command; you can then use "locale -a" to view the character sets supported by the current system.
2. Enter "dpkg-reconfigure locales" on the command line. After entering the graphical interface, (space means selection, Tab means switching, * means selection), select en_US.UTF-8 and zh_CN.UTF-8. After confirmation, select en_US.UTF-8 as the default.
3. Install Chinese fonts, "apt-get install xfonts-intl-chinese" and "apt-get install ttf-wqy-microhei". At this time, it is found that the web page is not garbled, and the system is not garbled. .
Restart.
Recommended: "linux tutorial"
The above is the detailed content of What to do if kali linux is garbled?. For more information, please follow other related articles on the PHP Chinese website!