File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to add -Dfile.encoding=UTF-8

 
Irakli Bliadze
Greenhorn
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 17645
39
Android Eclipse IDE Linux
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What do you expect to gain from that? Tomcat itself doesn't require it, and the webapps are expected to manage their own encoding.
 
Irakli Bliadze
Greenhorn
Posts: 17
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic