Wednesday, March 16, 2011

java encoding...

If you want to set java encoding to UTF-8 (or what ever you want...) you could use :

  • JAVA_TOOL_OPTIONS in you environment to set  file.encoding property with JAVA_TOOL_OPTIONS=-Dfile.encoding=UTF-8  
  • starting your vm with -Dfile.encoding=UTF-8  argument
  • set the default encoding in your favorite IDE.


No comments:

Post a Comment