I found a strange behavior. When I write something in System.out or in Log4j on russian language I see "?????" in output console. But this is happens only when I call this from Tomcat 7.0 or JBoss 6.1, and sometimes in TestNG. When I call System.out from public static void main everything looks great.
All sources which calls SOUT in UTF-8. In Settings default encoding set to UTF-8 too. Most strange part in this situation that when I add VM options "-Dfile.encoding=x-MacCyrillic" to Run configuration of Tomcat all russian characters looks good, on JBoss Run configuration that trick works too.
Who know how to get it work without this trick in every run configuration?
My enviroment: OS X 10.8.2, Java 1.6.0_31