Re: "Not a valid utf-8 string"

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thank you for your answer. Using utf8_encode(), my problem is solved.

It seems I needn't use utf8_decode().

Mathieu,

Christian Wenz writes:


In a webservice I developed I have answers with characters like à, é, è, ñ,... I have the following problem : <faultstring>SOAP-ERROR: Encoding: string 'Français' is not a valid utf-8 string</faultstring> What can be done to solve that ?

have you tried uto8_encode()/utf8_decode()? IIRC NuSOAP does this automagically, whereas PEAR::SOAP and PHP5-SOAP leave it up to you.


Regards
Christian


--
http://www.hauser-wenz.de/
http://www.hauser-wenz.de/blog/


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




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


[Index of Archives]     [PHP Home]     [PHP Users]     [Kernel Newbies]     [PHP Database]     [Yosemite]

  Powered by Linux