users@glassfish.java.net

Re: Glassfish and UTF-8

From: <glassfish_at_javadesktop.org>
Date: Thu, 03 Sep 2009 09:06:01 PDT

You need to work out how to set the JVM's language under Windows. One property is file.encoding but this [should] only affect file I/O, but google threw up this snippet:
"By setting the (Windows) environment variable JAVA_TOOL_OPTIONS to -Dfile.encoding=UTF8, the (Java) System property will be set automatically every time a JVM is started. You will know that the parameter has been picked up because a message will be posted to System.err."

So try that and see how you go.
[Message sent by forum member 'matterbury' (matterbury_at_abinitio.com)]

http://forums.java.net/jive/thread.jspa?messageID=362835