• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to add -Dfile.encoding=UTF-8

 
Irakli Bliadze
Greenhorn
Posts: 17
  • 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: 17989
47
Android Eclipse IDE Linux
  • 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
  • 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:
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic