Java Development Team wrote:
> Hi everyone.
> Iam trying to change server default enconding from ISO8859_1 to UTF8.
> Till now I found 2 differrent solutions. 
> The fisrt one is to use the following in my catalina.sh:
> set JAVA_OPTS=-Djavax.servlet.request.encoding=UTF-8
Never seen this before and Google returns zero hits.

 -Dfile.encoding=UTF-8
This is a read-only option on some platforms

> The second one is to use filters which i will try if dont get any luck with 
> the above which seems to be more efficient solution.

Or 3, code your application for UTF-8 from the start.

Which ever way you go, you will almost certainly need to set
URIEncoding="UTF-8" on the connector.

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]

Reply via email to