reference/mysql/functions/mysql-client-encoding.xml
65e697ff671608989432a6e6bf8ae8128b2be2c7
...
...
@@ -6,6 +6,15 @@
6
6
<refpurpose>Returns the name of the character set</refpurpose>
7
7
</refnamediv>
8
8

9
+
<refsynopsisdiv>
10
+
<warning>
11
+
&mysql.alternative.note;
12
+
<simplelist role="alternatives">
13
+
<member><function>mysqli_character_set_name</function></member>
14
+
</simplelist>
15
+
</warning>
16
+
</refsynopsisdiv>
17
+

9
18
<refsect1 role="description">
10
19
&reftitle.description;
11
20
<methodsynopsis>
...
...
@@ -58,20 +67,6 @@ The current character set is: latin1
58
67
</para>
59
68
</refsect1>
60
69

61
-
<refsect1 role="notes">
62
-
&reftitle.notes;
63
-
<note>
64
-
&mysql.alternative.note;
65
-
<para>
66
-
&mysql.alternative.include;
67
-
<simplelist>
68
-
<member><function>mysqli_character_set_name</function></member>
69
-
<member><methodname>PDO::setAttribute</methodname> (e.g., <literal>$db->setAttribute(PDO::MYSQL_ATTR_INIT_COMMAND, "SET NAMES 'utf8'");</literal>)</member>
70
-
</simplelist>
71
-
</para>
72
-
</note>
73
-
</refsect1>
74
-

75
70
<refsect1 role="seealso">
76
71
&reftitle.seealso;
77
72
<para>
78
73