wood burning stoves
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: 17039
    
  26

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


An IDE is no substitute for an Intelligent Developer.
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:
 
Have you checked out Aspose?
 
subject: how to add -Dfile.encoding=UTF-8
 
It's not a secret anymore!