I am having problems to change the charset in my web application response from ISO-8859-1 (default) to UTF-8. I already added the VM option -Dfile.encoding=UTF-8
-Dfile.encoding=UTF-8
For UTF-8 fonts on Glassfish3 (Log files, etc):
Go to Server-config > JVM Settings > JVM Options > Add option (-Dfile.encoding=UTF8).
Server-config
JVM Settings
JVM Options
Add option
-Dfile.encoding=UTF8
If you are not on -server mode then go to default-config > JVM Settings > JVM Options
-server mode
default-config