#31880 [NEW]: SoapClient complains about string with umlauts.
| From: | tschlottke at virtualminds dot de | Date: | Tue, 08 Feb 2005 09:39:29 +0000 |
| Subject: | #31880 [NEW]: SoapClient complains about string with umlauts. | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-73633@lists.php.net to get a copy of this message | ||
From: tschlottke at virtualminds dot de
Operating system: linux
PHP version: 5.0.3
PHP Bug Type: SOAP related
Bug description: SoapClient complains about string with umlauts.
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 bug report at http://bugs.php.net/?id=31880&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=31880&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=31880&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=31880&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=31880&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=31880&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=31880&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=31880&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=31880&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=31880&r=support
Expected behavior: http://bugs.php.net/fix.php?id=31880&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=31880&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=31880&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=31880&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=31880&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=31880&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=31880&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=31880&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=31880&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=31880&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=31880&r=mysqlcfg