Re: [xml] UTF-8 encoding error



On Wed, Feb 27, 2008 at 07:47:34PM +0530, Senthil Nathan wrote:
But please let me know, if there is any error in the sample data shown below
which could
throw this error. Or Any idea on why this encoding error occurred with this
particular data.
[...]
Entity: line 123: parser error : Input is not proper UTF-8, indicate
encoding !
Bytes: 0xFF 0xFF 0xFF 0xFF
module_3_ÿÿÿÿÿÿÿÿÿÿ
         ^

        The 0xff byte can't be part of a utf-8 sequence of bytes; a
utf-8 byte can start (from the binary point of view) with "0", "10",
"110", "1110", etc; a zero is needed; 0xff is "11111111" and lack of the
zero.  More in [1].

        I suppose your correct encoding is "iso-8859-1".

                massimo morara

[1] http://it.wikipedia.org/wiki/UTF-8

-- 

"There are 10 kinds of people in this world: people who understand
 binary, and people who don't."
-- unknown



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]