File Encoding handling in Eclipse 3.5

Posted by Cédric Girard on Stack Overflow See other posts from Stack Overflow or by Cédric Girard
Published on 2010-05-13T10:49:16Z Indexed on 2010/05/13 10:54 UTC
Read the original article Hit count: 347

Filed under:
|
|

Hi,

I use Eclipse 3.5 on Windows, with PDT and Subclipse plugins, with both legacy projects using ISO-8859-1 encoding (latin-1), and newers ones wich use UTF-8. I configured my workspace to use UTF-8, and I configured old projects to use latin-1. But every time I open an old project, it use UTF-8. With a workspace using latin-1 by default, I have the same problem with utf-8 projects edited as iso-8859-1.

My encoding choice is written in the file .settings/org.eclipse.core.resources.prefs but seems to be never read.

The only solution for now is to have a latin1 workspace, and an utf8 one. Any better idea?

Regards,
Cédric

© Stack Overflow or respective owner

Related posts about eclipse

Related posts about encoding