Skip to content

Chinese characters support in Iceweasel Firefox and in the console terminal

xuanngo edited this page Feb 20, 2015 · 2 revisions

Boot DebianDog

Boot in DebianDog live-boot v3 in RAM live persistence of DebianDog-Wheezy-openbox_xfce.iso.

Install locale

apt-get update 
apt-get install locales 
dpkg-reconfigure locales
# Select en_US.UTF-8 UTF-8.
# Set default locale to en_US.UTF-8.

Install your desired fonts(e.g. Chinese)

# Install Chinese fonts so that it display correctly in Iceweseal/Firefox and in the console.
apt-get install fonts-arphic-ukai fonts-arphic-uming

Reboot

Reboot so that changes will take effect.

Bonus

  1. To keep your locale small, apt-get install localepurge.
  2. Edit /etc/locale.nopurge to keep the locale you like to preserve. For example, I want to preserve all Chinese locales. Therefore, I will add the followings:
en 
en_US.UTF-8
zh
zh_CN
zh_CN.UTF-8
zh_TW
zh_TW.UTF-8

References