David Blevins wrote:
As a side note: encoding="UTF-8" doesn't mean that the file is UTF-8
encoded per se (i.e. the user explicitly specified in notepad to save
the file as UTF-8 ensures that the file is being saved as UTF-8 encoded
to the file system). That's something I tried to point out earlier.
Yes, that's exactly what I said. I just don't think it's Eclipse doing
it which is what I tried to point out. Seems more likely that it's his
svn client.
If he is on windoze and this issue poped up on XML files it could be a
windoze issue as well cause a XML file containing encoding="UTF-8",
needs to have the hex characters EF BB BF at the very beginning of the
file.
Note: EF BB BF won't be visible if using notepad or another text editor.
You need to open a file in hex mode to see these kind of characters.
I know this sounds strange but it's real. I gone through this already :)
Cheers
Daniel