Hello,
You can try Krysalis to solve your problems.

We have fully implemented UTF-8 support in both XML generation and XSL 
transformation, using a CDATA passthrough technique.

http://www.interakt.ro/products/Krysalis/

As we have developed the site of the Romanian Ministry of IT&C using 
Krysalis, we were stuck in a similar problem (both pasting from word and 
non ISO characters). The problems were fully resolved only after we have 
used the MB extension with a full UTF-8 XML/XSL pipeline.

Unfortunately, I don't know if the current released version 1.1.2 has all 
the internationalization features activated, but the 2.0 Lite version (due 
for release at the beginning of November) will surelly support it.


Alexandru

> Hi -
> 
> I've built a web-based XML editor using PHP, so that clients can edit
> the sites themselves. The site HTML is generated dynamically via
> Sablotron. The problem is the users are copying-and-pasting from MS
> Word, and putting things like smart quotes and greek characters (one
> site is about maths) into the input boxes. This causes PHP to freak when
> it's trying to store the new content into the XML, and even if PHP
> survives, Sablotron breaks.
> 
> I gather I need to set the XML document, XSL file, and stylesheet output
> to be UTF-16, instead of UTF-8. I can't see anything in the domxml
> functions to set encoding, though. Anyone got any ideas?
> 
> Thanks,
> 
> Gwyn.


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

Reply via email to