Re: [PHP-DEV] Re: [PHP-I18N] Help: Sablotron and Shift-jis

2003-03-07 Thread Christian Stocker
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 [EMAIL PROTECTED], 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" <[EMAIL PROTECTED]> 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  > encoding="Shift-jis" />
> > My XML file has: 
> > 
> > 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 
> To unsubscribe, visit: http://www.php.net/unsub.php
-- 
Christian Stocker <[EMAIL PROTECTED]>


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



[PHP-DEV] Re: [PHP-I18N] Help: Sablotron and Shift-jis

2003-03-06 Thread Moriyoshi Koizumi
It works for me. See the attached example. Anyway, you don't have to 
crosspost your question to [EMAIL PROTECTED], which is for developing 
php internals and irrelevant for such user questions.

Hope this helps

Moriyoshi


"Michel Sahyoun" <[EMAIL PROTECTED]> 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  encoding="Shift-jis" />
> My XML file has: 
> 
> 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
> 


  <‚ ‚Í>aha
  <‚¢‚Ð>def
  <‚¤‚Ó>ghi


 

<•\ xmlns="http://www.w3.org/TR/xhtml1/strict";>
  <•\—v‘f content="aha"/>
  <•\—v‘f content="def"/>
  <•\—v‘f content="ghi"/>


http://www.w3.org/1999/XSL/Transform";> 
  
  
  <•\>
<•\—v‘f content="{‚ ‚Í}" />
<•\—v‘f content="{‚¢‚Ð}" />
<•\—v‘f content="{‚¤‚Ó}" />
  
  

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