|Eclipse character encoding problem [message #779691]
||Mon, 16 January 2012 10:34
|Missing name Missing name
Registered: December 2011
Sorry if this have been discussed before, I could not find a solution to my particular problem.
I am using Eclipse Indigo V. 3.7.0
When I save a particualr file,the following error comes:
"Save could not be Completed
Some characters cannot be mapped using "ISO-8859-1" character encoding.
Either change the encoding or remove the characters which are not supported by the "ISO-8859-1" character encoding
It tells me to save in UTF-8. If I save the file in UTF-8, then I have following problem when I see the changes in Clear-Case version control:
über became ï¿½ber
für became fï¿½r
fr became fï¿½r
The file is may be 10-15 years old, and may be was originally done in "ISO-8859-1", May be in the mean time some of the encoding are corrupted (like "fr", which should be "für"). The thing is, those are only in the comments, and I do not need to change them, but Eclipse changes them "Automatically". If I save the files with Code-Warrior or Notepad++. they are not changed automatically.
I have tried to save the file with US-ANSI, cp1252, UTF-8 also, with same result.
What I can change in EClipse so that it leaves those un-changed ? Or finds the correct encoding for, say "ü" ?
Powered by FUDForum
. Page generated in 0.10276 seconds