reference/wddx/examples.xml
99d758bd259fa80c2828cf8cc250984cb683ee8f
...
...
@@ -4,6 +4,7 @@
4
4
<chapter xml:id="wddx.examples" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
5
5
&reftitle.examples;
6
6
<section xml:id="wddx.examples-serialize">
7
+
<title>wddx examples</title>
7
8
<para>
8
9
All the functions that serialize variables use the first
9
10
element of an array to determine whether the array is to be
...
...
@@ -65,9 +66,9 @@ echo $packet;
65
66

66
67
<note>
67
68
<para>
68
-
If you want to serialize non-ASCII characters you have to convert
69
-
your data to UTF-8 first (see <function>utf8_encode</function> and
70
-
<function>iconv</function>).
69
+
Strings should be encoded in UTF-8; to handle other encodings, convert
70
+
the string first using <function>mb_convert_encoding</function>,
71
+
<methodname>UConverter::transcode</methodname>, or <function>iconv</function>.
71
72
</para>
72
73
</note>
73
74
</section>
74
75