开发者

How to make Eclipse display Japanese symbols (kanji)?

I have a project in Eclipse 3.4.1 where i would开发者_如何学运维 like to use Japanese symbols (like 象形文字). The problem is that such symbols cannot be displayed correctly in Eclipse and i see black boxes instead of them.

I am using "Utf-8" encoding for all files.

Could anyone advise me how to fix this ? Thank you


You have chosen a font in Eclipse capable of showing the characters in question?

The font selection is in the General section of the Preferences pane.


To agree with the previous poster but explain a little more: IF you are seeing boxes instead of random looking garbage strings, then Eclipse is decoding the characters properly, but your font simply doesn't have those chars available.


Put / change this in eclipse.ini:

-Dfile.encoding=UTF-8
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜