Re: PEAR::SOAP and german language

From: Date: Fri, 14 May 2004 18:35:38 +0000
Subject: Re: PEAR::SOAP and german language
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-12496@lists.php.net to get a copy of this message
Tobias Schlitt wrote:
PHP-Junkie wrote:
Hello,
Hi!
when i do Webservices with PEAR::SOAP and use German Characters like ö ä ü inside a Vraiable i get the following error.
XML error on line 19 col 29 byte 760 not well-formed (invalid token)
That's in the nature of XML.
How can i fix this? I helped myself with encoding everything in BASE64, but i dont think that is the best way. There has to be a solution how SOAP generates the XML files with Germen Chars in clear text.
That's one way to go. Using CDATA is a good idea and using the XML entities for this chars would also be nice.
Thank you for your Help
Regards, Toby
To get around this myself, I've used utf8 encoding / decoding. XML entities is also a good idea, but I don't know of any built-in function to handle decoding / encoding them. -- paperCrane <Justin Patrin>

« previous php.pear.general (#12496) next »