Eclipse turns Japanese into trash during refactoring

I have several Java files that have Japanese strings in them and are encoded in UTF-8. I am using Eclipse. However, when Eclipse touches them in any automatic way, it turns the Japanese into garbage. A good example of this is JAWJAW , the Java WordNet Java interface. You can see the code on the website with Japanese characters. If you upload a project to Eclipse, everything will fail because the characters are distorted (bakemoji).

Does anyone know how to fix this?

+3
source share
2 answers

?
Eclipse (, e4) UTF-8, "".

. 108668:

. , , , - UTF-8 .


+1 UTF-8 , eclipse, Windows XP , , , .
Google. -Dfile.encoding=UTF-8 eclipse.ini, .


UTF-8 .


+1 , (, XML, HTTP, ). - , .

+2

- , Unicode, . .

  • Arial Unicode MS windows->fonts .
  • eclipse UTF-8,

    - > - > - > - >  - > - > UTF-8

  • Arial Unicode MS Text Font,

    - > - > - > - > - >  - > - > () →

0

All Articles