Bug #15800: german characters cannot be stored
| From: | thomas dot rauh at feig-partner dot de | Date: | Fri, 01 Mar 2002 00:25:22 +0000 |
| Subject: | Bug #15800: german characters cannot be stored | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-1347@lists.php.net to get a copy of this message | ||
From: thomas.rauh@feig-partner.de
Operating system: Win2000
PHP version: 4.1.1
PHP Bug Type: WDDX related
Bug description: german characters cannot be stored
Summary:
german characters cannot be stored
by wddx_serialize_vars
To make it easier for you to reproduce
the bug i write a little step-by-step
summary:
1) Setting the correct local zone
setlocale("LC_ALL","german");
2) Writing some test-data with german characters
ÄÖÜäüö
3) Pushing the test-data into wddx_serialize_vars
on a Win2000 Server. Results on Win2000:
Ä<char code='FFFFFFD6'/>Üä<char code='FFFFFFF6'/><char
code='FFFFFFFC'/>
Results on Linux (correct values):
ÄÖÜäöü
4) Reading the values back (from the saved wddx package)
Ä Üä
It seams like that only some locale characters (ÄÜä) are recognized on an
Win2000 Server. With the same script
and the same data, there are no problems on an Linux
Server.
Happy Debugging :-)
Thomas
--
Edit bug report at http://bugs.php.net/?id=15800&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=15800&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=15800&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=15800&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=15800&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=15800&r=support
Expected behavior: http://bugs.php.net/fix.php?id=15800&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=15800&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=15800&r=submittedtwice