#31880 [Opn->Fbk]: SoapClient complains about string with umlauts.

From: Date: Tue, 08 Feb 2005 21:32:07 +0000
Subject: #31880 [Opn->Fbk]: SoapClient complains about string with umlauts.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-73664@lists.php.net to get a copy of this message
ID: 31880 Updated by: johannes@php.net Reported By: tschlottke at virtualminds dot de -Status: Open +Status: Feedback Bug Type: SOAP related Operating System: linux PHP Version: 5.0.3 New Comment: Are you sure you're using UTF-8? Try if utf8_encode()ing the name of the method as proposed in the Exception. Previous Comments: ------------------------------------------------------------------------ [2005-02-08 10:39:28] tschlottke at virtualminds dot de Description: ------------ When I try to call a Soap-Method via SoapClient with any umlaut-containing string, soapclient complains that the string is not a valid utf8-encoded string. It seems to differ from #29999, which was a problem of libxml2. I've upgraded libxml2 to cvs, the problem described in #29999 is fixed in my libxml2 so I think this should be a PHP-issue. Reproduce code: --------------- <?php $client = new SoapClient(...); $client->anyMethod("Benutzer hinzufügen"); ?> Actual result: -------------- Uncaught SoapFault exception: [SOAP-ENV:Client] SOAP-ERROR: Encoding: string 'Recht hinzufügen' is not a valid utf-8 string in /var/www/adition_gui/includes/classes/rpc.class.php:29 Stack trace: #0 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=31880&edit=1

« previous php.bugs (#73664) next »