I'm working in a project that have Chinese character that I want to understand. So I want to change the character format to display these Chinese character.
What I have tried:
Window - Preferences - General - Content Type - Change Default
Encoding to UTF-8 Window - Preferences - General - Workspace - Text file encoding change to UTF-8
But seem like it's not work. See the images for more detail.
Before change to UTF-8:

After changed to UTF-8 it's look something like this:

One more problem is the change also effect to git status.
So my main question is how can I display the Chinese character in Eclipse editor (without changed git status).
Thanks.
Addtional information: when open file by Notepad++ the Chinese character show correctly.
It's depending on the encoding when the file saved.
Try change to GBK , ISO-8859-1 , GBK2312.
And you also can try copy content from Notepad++ to IDE.
Hope to help you.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With