I’m running Jetty on OSX on my dev environment. Currently character encoding seems to be faulti (probably mac-roman), overriding Jetty default. How can I force the encoding to be UTF-8? This problem seems to appear only on OSX, linux/windows works fine.
I’m running Jetty from terminal so eclipse-specific solutions aren’t of help.
No problem here however we start Jetty from the javaWrapper (and which should not make a difference).
The only parameter I can see making an impact is setting the file.encoding System Property e.g.
-Dfile.encoding=UTF-8EDIT
( our macs locale are set to utf-8 )