P� 29. jan. 2005 kl. 23.27 skrev [EMAIL PROTECTED]:

I'm receiving an "Invalid byte 1 of 1-byte UTF-8 sequence" error; can anyone tell me how to locate the offending character(s)?

If you have xmllint installed, just type:

xmllint <FILENAME>

It will give you the exact location of the offending character. I have used this method myself to clean a UTF-8 file with some invalid byte sequenses - works excellent as long as the number of invalid chars is small.

Sjur



Reply via email to