如何在日食中显示日文字符[复制]

时间:2022-10-20 20:23:38

This question already has an answer here:

这个问题在这里已有答案:

I am using eclipse Juno as Java IDE and in my java code comments and logging statement are in Japanese.

我使用eclipse Juno作为Java IDE,在我的java代码中,注释和日志声明都是日语。

eclipse is displaying junk character instead of correct Japanese characters. I followed this post to resolve the issue and made changes in eclipse.ini file. But now I am getting String literal is not properly closed by a double-quote error.

eclipse显示垃圾字符而不是正确的日文字符。我按照这篇文章来解决问题并在eclipse.ini文件中进行了更改。但是现在我得到的字符串文字没有被双引号错误正确关闭。

1 个解决方案

#1


9  

You need to tell eclipse to use UTF-8 for its stdout console. You can set that by Window > Preferences > General > Workspace > Text File Encoding.

你需要告诉eclipse使用UTF-8作为它的stdout控制台。您可以通过Window> Preferences> General> Workspace> Text File Encoding来设置它。

如何在日食中显示日文字符[复制]

#1


9  

You need to tell eclipse to use UTF-8 for its stdout console. You can set that by Window > Preferences > General > Workspace > Text File Encoding.

你需要告诉eclipse使用UTF-8作为它的stdout控制台。您可以通过Window> Preferences> General> Workspace> Text File Encoding来设置它。

如何在日食中显示日文字符[复制]