Does anyone have an example of using XSLT with Sablotron to transform and
XML document containing Shift-jis encoded characters?

I keep getting the following error message: Illegal Character for Encoding
'Shift-jis'

I am using the latest from snap.php.net and sablotron 0.97 FullPack with
iconv, and Javascript.

In my php file, I call xslt_set_encoding($xsltHandle, 'Shift-jis');
My xsl file has <xsl:output method="xml" omit-xml-declaration="yes"
encoding="Shift-jis" />
My XML file has: <?xml version="1.0" encoding="Shift-jis" ?>

Am I doing something wrong? Is the encoding name misspelled? Anything else I
could check?

Thanks,

Michel



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to