Ubuntu text mode display garbled

ubuntu cuts into text mode to display garbled code. The native language is English.

Mar.23,2021

restart your virtual machine and switch the ubuntu system to maintenance mode (this option is available on the startup menu).

then set locale to English mode en_US.UTF-8 , or to zh_CN.UTF-8 .
refer to https://www.thomas-krenn.com/.

for detailed steps.

if set to Chinese mode, you need to install at least one Chinese font. For example:

sudo apt install fonts-wqy-zenhei

change the language to English, you should be Chinese or something else, or install a font, otherwise the display will not be normal

Menu