如何在日食中显示日文 [英] How to display Japanese character in eclipse
本文介绍了如何在日食中显示日文的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
eclipse正在显示垃圾字符而不是正确的日语字符。我遵循这篇文章解决问题,并在eclipse.ini文件中进行了更改。但是现在我得到字符串文字没有被双引号错误地关闭。
解决方案
您需要告诉eclipse为其stdout控制台使用UTF-8。您可以通过窗口>首选项>常规>工作区>文本文件编码设置。
I am using eclipse Juno as Java IDE and in my java code comments and logging statement are in Japanese.
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.
解决方案
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.
这篇关于如何在日食中显示日文的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文