setting URIEncoding="UTF-8" in server.xml works in Gets but for posts
Tomcat doesn't use the URIEncoding flag for POSTed form data even when set So, what does Tomcat use for Post? ISO-8859-1. (i18)

Your best and safest bet is to effect UTF-8 interpretation is to setCharacterEncoding("UTF-8") for both the request AND the response.. (article available at http://java.sun.com/developer/technicalArticles/Intl/HTTPCharset/)

HTH,
Martin --
This email message and any files transmitted with it contain confidential
information intended only for the person(s) to whom this email message is
addressed.  If you have received this email message in error, please notify
the sender immediately by telephone or email and destroy the original
message without making a copy.  Thank you.

----- Original Message ----- From: "Mark Thomas" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
Sent: Tuesday, May 30, 2006 8:41 PM
Subject: Re: Configuring Tomcat HTTP server to generate proper links for non-English file names in a Directory Listing


Martin Gainty wrote:
You will need download and configure the i18 International jars (which
are optional) to enable multi-language functionality

This is not correct. These jars are resource bundles only - they have
no impact on this issue.

Setting URIEncoding="UTF-8" in the connector is probably what is
required but I haven't tested it.

Mark


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to