The stupid question is the question not asked | |
PerlMonks |
Re^3: XML Parser not well-formedby mirod (Canon) |
on Nov 02, 2004 at 17:45 UTC ( [id://404690]=note: print w/replies, xml ) | Need Help?? |
I have actually got around the problem by processing the file manually beforing loading it up with XML::Parser, and removing the dodgy characters. That's one way to do it. You could probably figure out in which encoding they are and replace them by the proper utf-8 character. My guess is that some of the text , like the DESCRIPTION is entered through either a web form or word processor, it shoul be possible to find out what encoding is used.
In Section
Seekers of Perl Wisdom
|
|