How to display a Japanese character in an eclipse

I use eclipse Juno as the Java IDE and in the comments on the java code and the Japanese logging protocol.

eclipse displays a spam character instead of the correct Japanese characters. I completed this post to solve the problem and made changes to the eclipse.ini file. But now I get the String literal being incorrectly closed with a double quote error .

+6
source share
1 answer

You need to tell eclipse to use UTF-8 for your stdout console. You can set this using window> Settings> General> Workspace> Text File Encoding.

enter image description here

+8
source

Source: https://habr.com/ru/post/949806/


All Articles