svn: /phpdoc/en/trunk/reference/strings/functions/ get-html-translation-table.xml htmlentities.xml htmlspecialchars.xml
| From: | Nikita Popov | Date: | Sat, 28 Jan 2012 14:05:43 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/strings/functions/ get-html-translation-table.xml htmlentities.xml htmlspecialchars.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-9519@lists.php.net to get a copy of this message | ||
nikic Sat, 28 Jan 2012 14:05:43 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=322905
Log:
Add UTF-8 initializer for charsets in htmlspecialchars() etc
Changed paths:
U phpdoc/en/trunk/reference/strings/functions/get-html-translation-table.xml
U phpdoc/en/trunk/reference/strings/functions/htmlentities.xml
U phpdoc/en/trunk/reference/strings/functions/htmlspecialchars.xml
Modified: phpdoc/en/trunk/reference/strings/functions/get-html-translation-table.xml
===================================================================
--- phpdoc/en/trunk/reference/strings/functions/get-html-translation-table.xml 2012-01-28 13:25:00
UTC (rev 322904)
+++ phpdoc/en/trunk/reference/strings/functions/get-html-translation-table.xml 2012-01-28 14:05:43
UTC (rev 322905)
@@ -12,7 +12,7 @@
<type>array</type><methodname>get_html_translation_table</methodname>
<methodparam
choice="opt"><type>int</type><parameter>table</parameter><initializer>HTML_SPECIALCHARS</initializer></methodparam>
<methodparam
choice="opt"><type>int</type><parameter>flags</parameter><initializer>ENT_COMPAT
| ENT_HTML401</initializer></methodparam>
- <methodparam
choice="opt"><type>string</type><parameter>charset</parameter></methodparam>
+ <methodparam
choice="opt"><type>string</type><parameter>charset</parameter><initializer>'UTF-8'</initializer></methodparam>
</methodsynopsis>
<para>
<function>get_html_translation_table</function> will return the
Modified: phpdoc/en/trunk/reference/strings/functions/htmlentities.xml
===================================================================
--- phpdoc/en/trunk/reference/strings/functions/htmlentities.xml 2012-01-28 13:25:00 UTC (rev
322904)
+++ phpdoc/en/trunk/reference/strings/functions/htmlentities.xml 2012-01-28 14:05:43 UTC (rev
322905)
@@ -12,7 +12,7 @@
<type>string</type><methodname>htmlentities</methodname>
<methodparam><type>string</type><parameter>string</parameter></methodparam>
<methodparam
choice="opt"><type>int</type><parameter>flags</parameter><initializer>ENT_COMPAT
| ENT_HTML401</initializer></methodparam>
- <methodparam
choice="opt"><type>string</type><parameter>charset</parameter></methodparam>
+ <methodparam
choice="opt"><type>string</type><parameter>charset</parameter><initializer>'UTF-8'</initializer></methodparam>
<methodparam
choice="opt"><type>bool</type><parameter>double_encode</parameter><initializer>true</initializer></methodparam>
</methodsynopsis>
<para>
Modified: phpdoc/en/trunk/reference/strings/functions/htmlspecialchars.xml
===================================================================
--- phpdoc/en/trunk/reference/strings/functions/htmlspecialchars.xml 2012-01-28 13:25:00 UTC (rev
322904)
+++ phpdoc/en/trunk/reference/strings/functions/htmlspecialchars.xml 2012-01-28 14:05:43 UTC (rev
322905)
@@ -12,7 +12,7 @@
<type>string</type><methodname>htmlspecialchars</methodname>
<methodparam><type>string</type><parameter>string</parameter></methodparam>
<methodparam
choice="opt"><type>int</type><parameter>flags</parameter><initializer>ENT_COMPAT
| ENT_HTML401</initializer></methodparam>
- <methodparam
choice="opt"><type>string</type><parameter>charset</parameter></methodparam>
+ <methodparam
choice="opt"><type>string</type><parameter>charset</parameter><initializer>'UTF-8'</initializer></methodparam>
<methodparam
choice="opt"><type>bool</type><parameter>double_encode</parameter><initializer>true</initializer></methodparam>
</methodsynopsis>
<para>