|Eclipse converts ascii to utf-8 without warning [message #1272390]
||Mon, 17 March 2014 20:19
| Mark Holtkamp
Registered: December 2010
My Eclipse workspace is set to UTF-8 as is my OS (Linux). When I open a file that is asccii encoded and contains extended ascii characters that are invalid utf-8, Eclipse gives no warning. When I save the file, Eclipse saves as utf-8 and replaces all invalid utf-8 character with the (valid) utf-8 character U+FFFD (displayed as �, hex EF BF BD).
I'd agree that the source file should not be asccii in the first place, still I'd like Eclipse to give a warning when opening a file that is invalid utf-8. Is there a setting in Eclipse to make it behave that way?
I am using Eclipe Kepler version 4.3.1 with PDT extension version 3.2.0
Powered by FUDForum
. Page generated in 0.06712 seconds