On Wednesday, 19. March 2003 14:55, Andrzej Talarczyk wrote: > finally, I found some free time to have another look at my problem, > described in > http://www.mail-archive.com/[EMAIL PROTECTED]/msg02385.html . > In short, I have an iso-8859-2-encoded XSP page that I want to transform > with AxKit. It turns out that after the first processing step, which is > XSP, the resulting intermediate XML document is marked as "UTF-8" in its > header but in fact it is "double-utf-8-encoded". > > Having a closer look at the way AxKit::XSP::SAXParser acts, I realized > that before the XSP handler() is called, the data is still iso-8859-2 > but the $doc structure returned from $parser->parse_fh() is UTF-8.
This is not true, at least not from what the docs report, and what the behaviour is on Linux. I've tried the latest version of XML::LibXML (CVS, the soon expected 1.54) with perl-5.8.0, libxml2-2.5.2 on a Linux box. It works fine, with my usual ISO-8859-1 as with ISO-8859-2. What version of perl is on your BSD box, what version of libxml2? -- CU Joerg PGP Public Key at http://ich.bin.kein.hoschi.de/~trouble/public_key.asc PGP Key fingerprint = D34F 57C4 99D8 8F16 E16E 7779 CDDC 41A4 4C48 6F94 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
