Re: Problem with special char in MySQL and XML [message #174850 is a reply to message #174849] |
Wed, 13 July 2011 12:56 |
Sarah
Messages: 30 Registered: December 2010
Karma:
|
Member |
|
|
Thanks for to all for fast replies and for help me!!
So... reading your replies now I know that in my DB I've to save my
literally chars: è à & ù ì etc.
--
But there's still a handful of special characters that need to be
written as
entity references, for example the ampersand '&'. If this char appears
unescaped in your text, it will break your XML.
--
--
I don't think either of them is necessary. Take your DB data, pass it
through htmlspecialchars() and take the result to build your XML.
--
What I've to do exactly??
|
|
|