4
I imported a project into Intellij that was created in the eclipse.
The project is pretty big.
I’m having a problem with encoding, in the eclipse is as Default o Cp1252
And Intellij is into UTF-8
How to change to Cp1252
or migrate the entire project to UTF-8
without having to rewrite everything?
If I set UTF-8
in the Eclipse
If I modify in eclipse, the code that is in eclipse will get error.
– Henrique Santiago
@Henriquesantiago what kind of mistake?
– rray
I’ve even tried!!
– Henrique Santiago
If I set from cp1252 to UTF-8, for example, it is giving error, the caractéres are 'crazy'
– Henrique Santiago
I put in the question @rray
– Henrique Santiago
@Henriquesantiago if you find only this project through the menu
project>properties
other projects are right including this migrated?– rray
Yes, the others are still without mistakes.
– Henrique Santiago
@Henriquesantiago the comment solved the problem then?
– rray
No, it didn’t. It keeps giving the error. I think I’ll have to rewrite.
– Henrique Santiago
look at the String I’m going through the List constructor.. Exception(); it has invalid characters
– Henrique Santiago
@Henriquesantiago if you create a new Workspace configured as utf-8 and import this project to this Workspace continues the problem?
– rray
Yes, the invalid characters continue
– Henrique Santiago
That doesn’t solve it. It will be necessary to save all the files with the correct encoding, since apparently they have been edited in one that has characters not supported by UTF-8.
– Giuliana Bezerra