Quantcast
Channel: JetBrains Developer Community : Thread List - IntelliJ IDEA Users
Viewing all articles
Browse latest Browse all 5661

Idea 11.1 and Idea 12 EAP russian characters problem in Output console

$
0
0

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


Viewing all articles
Browse latest Browse all 5661

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>