SCJP 6 || SCWCD 5
Paul Clapham wrote:That means your document isn't actually encoded in UTF-8, but you are reading it as though it were. This is often because whoever created the document failed to specify its encoding in the prolog.
So send it back to whoever created it and ask them to fix it up. If you don't feel you have the technical background to back up that claim yourself (and you probably shouldn't) then read this tutorial first:
http://skew.org/xml/tutorial/
Brylle Lee wrote:Character encoding differs from system to system, with some common standards including ISO-8859-1, UTF-8 plus other encodings such as Mac OS.
William Brogden wrote:The first thing I would do is examine the start of that document with an editor that can display HEX values to see what it really starts with.
Personally I use UltraEdit-32.
Do you know how the XML document was created?
Bill
Life is short live it up
Don't get me started about those stupid light bulbs. |