svn: /phpdoc/en/trunk/ language-snippets.ent reference/mysqli/mysqli/connect.xml reference/mysqli/mysqli/options.xml
reference/mysqli/mysqli/real-connect.xml
| From: | Kalle Sommer Nielsen | Date: | Sun, 24 Oct 2010 20:45:34 +0000 |
| Subject: | svn: /phpdoc/en/trunk/ language-snippets.ent reference/mysqli/mysqli/connect.xml reference/mysqli/mysqli/options.xml reference/mysqli/mysqli/real-connect.xml |
||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-7323@lists.php.net to get a copy of this message | ||
kalle Sun, 24 Oct 2010 20:45:34 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=304709
Log:
Fixed #52453 (Connection charset seems arbitrary)
Bug: http://bugs.php.net/52453 (Verified) Connection charset
seems arbitrary
Changed paths:
U phpdoc/en/trunk/language-snippets.ent
U phpdoc/en/trunk/reference/mysqli/mysqli/connect.xml
U phpdoc/en/trunk/reference/mysqli/mysqli/options.xml
U phpdoc/en/trunk/reference/mysqli/mysqli/real-connect.xml
Modified: phpdoc/en/trunk/language-snippets.ent
===================================================================
--- phpdoc/en/trunk/language-snippets.ent 2010-10-24 19:05:21 UTC (rev 304708)
+++ phpdoc/en/trunk/language-snippets.ent 2010-10-24 20:45:34 UTC (rev 304709)
@@ -890,6 +890,11 @@
returned by
<function>mysqli_stmt_init</function>.</para></listitem></varlistentry>'>
<!ENTITY mysqli.available.mysqlnd 'Available only with <link xmlns="http://docbook.org/ns/docbook"
linkend="book.mysqlnd">mysqlnd</link>.'>
+<!ENTITY mysqli.charset.note '<note xmlns="http://docbook.org/ns/docbook">
+<para>MySQLnd always assumes the server default charset. This charset is sent during
connection
+hand-shake/authentication, which mysqlnd will use.</para><para>Libmysql uses the
default charset set in the
+<filename>my.cnf</filename> or by an explicit call to
<function>mysqli_options</function> prior to
+calling <function>mysqli_real_connect</function>, but after
<function>mysqli_init</function>.</para></note>'>
<!-- Notes for SAPI/Apache -->
<!ENTITY note.apache.nsapi-module '<note xmlns="http://docbook.org/ns/docbook"><para>As
of PHP 4.3.3 you can use this function with the
Modified: phpdoc/en/trunk/reference/mysqli/mysqli/connect.xml
===================================================================
--- phpdoc/en/trunk/reference/mysqli/mysqli/connect.xml 2010-10-24 19:05:21 UTC (rev 304708)
+++ phpdoc/en/trunk/reference/mysqli/mysqli/connect.xml 2010-10-24 20:45:34 UTC (rev 304709)
@@ -228,6 +228,7 @@
<refsect1 role="notes">
&reftitle.notes;
+ &mysqli.charset.note;
<note>
<para>
OO syntax only: If a connection fails an object is still returned. To check
Modified: phpdoc/en/trunk/reference/mysqli/mysqli/options.xml
===================================================================
--- phpdoc/en/trunk/reference/mysqli/mysqli/options.xml 2010-10-24 19:05:21 UTC (rev 304708)
+++ phpdoc/en/trunk/reference/mysqli/mysqli/options.xml 2010-10-24 20:45:34 UTC (rev 304709)
@@ -112,6 +112,11 @@
</para>
</refsect1>
+ <refsect1 role="notes">
+ &reftitle.notes;
+ &mysqli.charset.note;
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>
Modified: phpdoc/en/trunk/reference/mysqli/mysqli/real-connect.xml
===================================================================
--- phpdoc/en/trunk/reference/mysqli/mysqli/real-connect.xml 2010-10-24 19:05:21 UTC (rev 304708)
+++ phpdoc/en/trunk/reference/mysqli/mysqli/real-connect.xml 2010-10-24 20:45:34 UTC (rev 304709)
@@ -294,6 +294,11 @@
</example>
</refsect1>
+ <refsect1 role="notes">
+ &reftitle.notes;
+ &mysqli.charset.note;
+ </refsect1>
+
<refsect1 role="seealso">
&reftitle.seealso;
<para>