tony2001 Mon Dec 6 17:43:01 2004 EDT
Modified files: /phpdoc/en/reference/wddx reference.xml Log: setlocale() doesn't help here because wddx_deserialize() decodes data from UTF8 in any case. so if you really need to serialize non-ASCII data, you HAVE to use utf8_encode() first. http://cvs.php.net/diff.php/phpdoc/en/reference/wddx/reference.xml?r1=1.9&r2=1.10&ty=u Index: phpdoc/en/reference/wddx/reference.xml diff -u phpdoc/en/reference/wddx/reference.xml:1.9 phpdoc/en/reference/wddx/reference.xml:1.10 --- phpdoc/en/reference/wddx/reference.xml:1.9 Mon Dec 15 11:55:11 2003 +++ phpdoc/en/reference/wddx/reference.xml Mon Dec 6 17:43:01 2004 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.9 $ --> +<!-- $Revision: 1.10 $ --> <reference id="ref.wddx"> <title>WDDX Functions</title> <titleabbrev>WDDX</titleabbrev> @@ -101,9 +101,9 @@ <note> <para> - If you want to serialize non-ASCII characters you have to set - the appropriate locale before doing so (see - <function>setlocale</function>). + If you want to serialize non-ASCII characters you have convert + your data to UTF-8 first (see <function>utf8_encode</function> and + <function>iconv</function>). </para> </note> </section>