Linux下Chrome 浏览器乱码

当排除了编码问题后那么很可能是字体设置的问题,特别是页面中的文字显示为方块时。

参照wiki:

http://en.wikipedia.org/wiki/Help:Multilingual_support_%28East_Asian%29#Debian-based_GNU.2FLinux

In order to display Chinese, Japanese and/or Korean characters, you must install some font packages:

LanguageSerifSans serif
Chinese (both Simplified & Traditional) ttf-arphic-uming (Outdated dummy package in Debian 7) ttf-wqy-zenhei (Outdated dummy package in Debian 7)
Japanese fonts-ipafont-mincho fonts-ipafont-gothic
Korean ttf-unfonts-core

There are some alternative packages for some languages, but the ones listed above do work.

To install all the fonts listed above in Debian, Ubuntu, and other variants:

sudo apt-get install ttf-arphic-uming ttf-wqy-zenhei fonts-ipafont-mincho fonts-ipafont-gothic ttf-unfonts-core

 

原文地址:https://www.cnblogs.com/kanone/p/3536926.html