在linux下tomcat自启动产生乱码问题

在/etc/rc.d/rc.local 文件中加上 export   LC_ALL=zh_CN.GB18030
将/etc/sysconfig/i18n文件中的LANG的值改为:zh_CN.GB18030
验证环境:
tomcat6.0.32
redflag6.1 desktop

猜你喜欢

转载自ethan163.iteye.com/blog/1167848