Log in

View Full Version : Chapter Grabber UTF-8 bug


Zenitram
3rd August 2004, 15:58
Chapter Grabber can output a XML file.

Good.
But the XML output is corrupt!
The first line of XML file is :
"<?xml version="1.0" encoding="utf-8" standalone="yes"?>"

But if you put in chapters name signs like é, à, ç, they are in ISO-8859-1 (my page code), not in UTF-8 as said in the header of file.

This is dangerous to have corrupted XML files, my XML parser don't anderstand you put ISO-8859-1 characters (the file is said without this code page) and think this is UTF-8, so my output (in Unicode, with a UTF-8 to UCS-2 parser) is false.

Chapter Grabber should change the header, or put a UTF-8 encoder before saveing the file.

Emp3r0r
4th August 2004, 04:49
Alright, I'll take a look at it. I was rewriting the output portion anyway ;)

unmei
12th August 2004, 08:58
Looks all too common to me. Not because of chapter grabber though (but my own soft). Emperor, i hope you can solve that without getting too many headaches.