Thank you Mark and Martin. I will try both tricks tomorrow then let you know how it went.

Martin, please note that I am not dealing with POST or GET in this situation. I'm not submitting any forms or other data, and there is no query string in any of my URLs. All I am doing is using Tomcat to produce automatically-generated directory listings, then clicking on filenames in those listings to download the files to the client browser. I don't think this involves GET or POST. In fact at this point it's a simple Request for an HTML page, followed by a request for an MP3 file referred by that HTML page.

-Ramez

Martin Gainty wrote:
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]



---------------------------------------------------------------------
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