0

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

Termos
  • 664
  • 1
  • 7
  • 31

3 Answers3

3

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.

Thorbjørn Ravn Andersen
  • 73,784
  • 33
  • 194
  • 347
0

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.

Noah
  • 998
  • 1
  • 12
  • 22
0

Put / change this in eclipse.ini:

-Dfile.encoding=UTF-8