Re: PEAR::SOAP and german umlaute
| From: | Dmitri Vinogradov | Date: | Tue, 25 Nov 2003 11:34:10 +0000 |
| Subject: | Re: PEAR::SOAP and german umlaute | ||
| References: | 1 2 3 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-1175@lists.php.net to get a copy of this message | ||
Hi
Default encoding is UTF-8, so if you gonna use default encoding you must be
sure you string output is utf encoded (utf8_encode())
so string 'Ülrich' would be 'Ãolrich'
Regards
Dmitri
"Marc Logemann" <spam1@logemann.org> schrieb im Newsbeitrag
news:20031124232539.4468.qmail@pb1.pair.com...
> Hi,
>
> thx, it worked indeed.
> But what encoding was defined before, is UTF-8 standard? And if it is, why
> doesnt this work as well?
>
> Disclaimer: Character Encoding is one of my weaker areas ;-)
>
> "Dmitri Vinogradov" <dimitri@vinogradov.de> schrieb im Newsbeitrag
> news:20031121220400.91142.qmail@pb1.pair.com...
> > Hi
> >
> > Theres no problems with german chars if you set response_encoding to
> > ISO-8859-1 in your SOAP_Server object. If you use SOAP_Client to access
> your
> > webservice - set $SOAP_Client->_encoding to ISO-8859-1 as well...
> >
> > regards
> > Dmitri
> >
> >
> >
> > "Marc Logemann" <spam1@logemann.org> schrieb im Newsbeitrag
> > news:20031121105523.54773.qmail@pb1.pair.com...
> > > Hi,
> > >
> > > basic question, how can i return german umlaute from a SOAP server
> within
> > a
> > > function? I mean these chars:
> > > ä,ö,ü,...
> > >
> > > Do i have to encode them myself inside the server function? This would
> be
> > > pretty lame or is there an automatism for this? THanks.
> > >
> > > marc