On Friday, 17. January 2003 13:23, Andrzej Talarczyk wrote: > First of all, hi everybody here, > > I have successfully used AxKit for several months on my Debian Linux > box. Recently, I have decided to migrate one of the sites to a FreeBSD > box and I have stumped by an unexpected problem. I use AxKit to generate > HTML files from XML source encoded in iso-8859-2 in the processing > chains that looks like this: > > file.xml (iso-8859-2) -> XSP -> XSLT -> XSLT -> HTML (iso-8859-2) > > On Debian, intermediate xml structures (as seen with > AxTraceIntermediate) are UTF-8-encoded and final HTML output is properly > converted to iso-8859-2 by the second XSLT stylesheet. > > On FreeBSD, however, the first intermediate (after XSP processing) looks > as if there was an "additional" (unnecessary) conversion step from > iso-8859-2 to UTF-8: e.g iso-8859-2 code is converted to UTF-8 (two > codes) and then each of them is converted once again, resulting 4 codes > from a single iso code. Needless to say, that the final HTML page is > mangled, too.
This is highly dependant on your version of XML::LibXML, Perl itself and your local libiconv. Try finding out what the working box uses and what the "broken" box uses. -- 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]
