ubuntu作服务器如何设置中文编码?
如题
本人用ubuntu9.04 desktop+xampp(http://www.apachefriends.org/zh_cn/xampp-linux.html)搭建了一个lampp环境
但是碰到了麻烦的编码问题
ubuntu默认使用UTF-8
但,在这样的环境win的机器访问无论是ftp(由proftp提供)还是文件夹的index(我在apache里面设置了允许index)
中文全部是乱码
网上查找了几篇文章
http://linux.chinaunix.net/techdoc/system/2009/04/30/1109673.shtml
http://bbs.jpu.edu.cn/weadmin/ihipop/2009/06/14/85/
http://hi.baidu.com/caozhibin/blog/item/df47d3fab5a9e3d9b58f3134.html
什么/etc/environment
/etc/profile阿都照做了
无效
乱码依旧
虽然从ubuntutweak看已经是GBK编码系列了
可清那位过来人帮忙


sunrise538 于 2010-01-05 10:47:08发表:
sudo nano /etc/default/locale
wangyoubang 于 2009-08-02 08:32:49发表:
不知道 顶一个
ihipop 于 2009-06-17 14:57:00发表:
[i=s] 本帖最后由 ihipop 于 2009-6-17 15:04 编辑 [/i]
FTP怎么设置网页的编码??????
他是根据文件名编码来显示的
而且
mod_autoindex的字符集通过.htaccess的charset来定义的~~~~
微宝贝 于 2009-06-15 20:24:34发表:
你应该设置你的网页的编码吧?试过没有?