Re: Re: Help: Sablotron and Shift-jis

From: Date: Fri, 07 Mar 2003 08:03:41 +0000
Subject: Re: Re: Help: Sablotron and Shift-jis
References: 1 2  Groups: php.dev php.i18n php.xml.dev 
Request: Send a blank email to php-dev+get-94876@lists.php.net to get a copy of this message
On Fri, 2003-03-07 at 08:50, Moriyoshi Koizumi wrote: > It works for me. See the attached example. Anyway, you don't have to > crosspost your question to php-dev@lists.php.net, which is for developing > php internals and irrelevant for such user questions. > ditto for php-xml-dev, a list _for_ developing of the xml extensions in PHP and not _with_. Your issue looks like a Sablotron problem and not a php at all, by the way ;) chregu > Hope this helps > > Moriyoshi > > > "Michel Sahyoun" <msahy@yahoo.com> wrote: > > > 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 Internationalization Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > ______________________________________________________________________ > > -- > PHP Development Mailing List <http://www.php.net/> > To unsubscribe, visit: http://www.php.net/unsub.php -- Christian Stocker <chregu@bitflux.ch>

« previous php.dev (#94876) next »