且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

Tomcat / Linux上的UTF-8和Servlet

更新时间:2023-11-27 16:01:04

更改LANG环境变量是解决问题的一种方法。

Changing the LANG environment variable is one way to solve the problem.

正式的方法是将字符编码设置为sevlet过滤器: http://wiki.apache.org/ tomcat / Tomcat / UTF-8

The official way is to set the character encoding in a sevlet filter: http://wiki.apache.org/tomcat/Tomcat/UTF-8

一些背景信息: http://www.crazysquirrel.com/computing/general/form-encoding.jspx