Debian 9.5 to solve the Chinese garbled

A. First check the situation LOCALE

Description: DEBIAN GNU so because, for different regions had different packages support exists in the form LOCALE based.

1, terminal

#apt-get install locales

2, reconfigure LOCALE

#dpkg-reconfigure locales

I checked in the interface is "en_US.UTF-8" and "zh_CN.UTF-8". Then select the default zh_CN.UTF-8 LOCALE, the Chinese system interface (here may be selected from en_US.UTF-8, so that the system interface is in English).

3, run LOCALE LOCALE command to check the current environment

#locale

Correct configuration will be explicit

Lang = zh_CN.UTF-8

Debian 9 to solve the Chinese garbled

Solution: Open a terminal, switch to the root account.

Execute the following command:

apt-get install ttf-wqy-zenhei (installed fonts)

apt-get install ibus ibus-gtk ibus-pinyin (mounted input)

Localization Locale settings

If we install Debian system, select the English language do? After entering the system sees all in English, is not it a bit depressing. So how do we set it into simplified Chinese?

# If you choose to install the system is simplified Chinese, you can skip this, only Chinese fonts installed on the line. Of course, you can also modify into other languages.

Open a terminal, execute the command:

dpkg-reconfigure locales

The band over the entire selected from zh_CN words, and then select OK OK in the dialog box, select the system locale, but select zh_CN.UTF-8.

Guess you like

Origin www.cnblogs.com/exmyth/p/12406048.html