Encoding Eclipse – Intellij

Posted on

Question :

Imported a project in Intellij that was created in eclipse.

The project is quite large.

I’m having a problem with the encoding, in eclipse it’s like Default the Cp1252

And IntelliJ is set to UTF-8

How do I change to Cp1252 or migrate the entire project to UTF-8 without having to rewrite everything?

If I set UTF-8 in Eclipse


Answer :

To change the encode of creating files in eclispe, I do the following steps:

Window menu > Preference. In treeview, go to General>WorkSpace and change text file encoding to UTF-8.


Leave a Reply

Your email address will not be published. Required fields are marked *