Tomcat character enconding UTF-8
Posted by Edmund Haselwanter on Thursday, October 09, 2008
As with EVERY project sooner or later I encounter character encoding problems. This time everything seemed to be ok. UTF-8 settings everywhere I can think of. Did I miss something?On the development environment it worked well, but on production UTF-8 pages showed off with this annoying ?? character sequences instead of german umlauts. What did I miss?
Java seems do rely on default character enconding settings itself. Passing -Dfile.encoding=UTF8 @ with @JAVA_OPTS did the trick :-)