DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10321>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=10321

Encoding problem in solaris environment (Solaris 2.6)





------- Additional Comments From [EMAIL PROTECTED]  2002-07-03 06:09 -------
On my Solaris 2.7 box, I have no problems getting Tomcat to guess UTF-8 for 
simple examples.

For a discription of the settings, See:
<http://jakarta.apache.org/tomcat/tomcat-3.3-doc/serverxml.html>

Things to try:
1) If the page containing the form is a static (i.e. "foobar.html") page, then 
you might want to upgrade to 3.3.1 and take advantage of the useAcceptLanguage 
and/or useCharset attribute of StaticInterceptor.

2) If your entire site uses UTF-8, you could set the defaultEncoding="UTF-8" 
attribute on DecodeInterceptor.

3) If you don't care about portability to other servlet-containers, you could 
modify your servlet to call:
request.setAttribute("charset", "UTF-8");
before any of the parameters are processed.

--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to