aspose file tools*
The moose likes Tomcat and the fly likes how to add -Dfile.encoding=UTF-8 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » Tomcat
Bookmark "how to add -Dfile.encoding=UTF-8" Watch "how to add -Dfile.encoding=UTF-8" New topic
Author

how to add -Dfile.encoding=UTF-8

Irakli Bliadze
Greenhorn

Joined: Dec 09, 2011
Posts: 17
anybody knows how to add -Dfile.encoding=UTF-8 to tomcat catalina.bat or service.bat and exactly where i should to add it
to know tomcat uft characters
Tim Holloway
Saloon Keeper

Joined: Jun 25, 2001
Posts: 16012
    
  19

What do you expect to gain from that? Tomcat itself doesn't require it, and the webapps are expected to manage their own encoding.


Customer surveys are for companies who didn't pay proper attention to begin with.
Irakli Bliadze
Greenhorn

Joined: Dec 09, 2011
Posts: 17
thanks for answer, you are right, i wanted to set utf-8 encodig to my servlet attachment file name and i did this like this:
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to add -Dfile.encoding=UTF-8