tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tomislav Brkljačić <>
Subject [ win xp and win server 2003 ] tomcat utf8 encoding
Date Thu, 07 Apr 2011 13:51:44 GMT

Hi to all,

this is my scenario and problem. 

Situation 1. - local machine, win xp
I have a web app deployed to tomcat, and the app has a webform for uploading
Attachments can have funny letters (š,ć,čćžđ ) in the filename.
I have set the file.encoding=UTF8 and UriEncoding = UTF8 for jvm and inside
the server.xml.
Everything works as expected, no anomalies in displaying the filenames of
the uploaded files.

Situation 2. - client machine, win server 2003
Same webapp as in Situation 1, same tomcat configuration in all matters.
But there is  aproblem.
After i upload the files with funny names through the app, the filenames are
scrambled and garbled.
I checked the location of the files in the file system, and of course 
uploadaed filenames are
acrambled in the file system too.

Obviously there is some other setting i need to check and syncronize, but it
eludes me so far..

Any help is very appreciated.


View this message in context:
Sent from the Tomcat - User mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message