系统版本:Debian 6.0.2 Squeeze
产生乱码原因:系统没有中文字体
解决方案:
1、从windows 系统下拷贝后缀为ttf的字体库到/usr/share/fonts/truetype/,我这里拷贝MSYH.ttf(微软雅黑)。
我的办法是 把msyh copy到我都U盘上 然后 在copy到truetype
2、终端输入一下代码:
#cp msyh.ttf
/usr/share/fonts/truetype/
3、重启电脑或者在终端输入fc-cache