svn: /phpdoc/en/trunk/reference/strings/functions/ html-entity-decode.xml
| From: | Jakub Vrana | Date: | Mon, 07 Feb 2011 15:13:02 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/strings/functions/ html-entity-decode.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-7715@lists.php.net to get a copy of this message | ||
vrana Mon, 07 Feb 2011 15:13:02 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=308101
Log:
Default charset is now UTF-8, use <initializer>
Changed paths:
U phpdoc/en/trunk/reference/strings/functions/html-entity-decode.xml
Modified: phpdoc/en/trunk/reference/strings/functions/html-entity-decode.xml
===================================================================
--- phpdoc/en/trunk/reference/strings/functions/html-entity-decode.xml 2011-02-07 11:30:18 UTC (rev
308100)
+++ phpdoc/en/trunk/reference/strings/functions/html-entity-decode.xml 2011-02-07 15:13:02 UTC (rev
308101)
@@ -12,7 +12,7 @@
<type>string</type><methodname>html_entity_decode</methodname>
<methodparam><type>string</type><parameter>string</parameter></methodparam>
<methodparam
choice="opt"><type>int</type><parameter>quote_style</parameter><initializer>ENT_COMPAT</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>html_entity_decode</function> is the opposite of
@@ -39,8 +39,7 @@
<para>
The optional second <parameter>quote_style</parameter> parameter lets
you define what will be done with 'single' and "double" quotes. It
takes
- on one of three constants with the default being
- <constant>ENT_COMPAT</constant>:
+ on one of three constants:
<table>
<title>Available <parameter>quote_style</parameter>
constants</title>
<tgroup cols="2">
@@ -73,9 +72,7 @@
<term><parameter>charset</parameter></term>
<listitem>
<para>
- The ISO-8859-1 character set is used as default for the optional third
- <parameter>charset</parameter>. This defines the character set used in
- conversion.
+ This defines the character set used in conversion.
</para>
&reference.strings.charsets;
</listitem>
@@ -104,6 +101,12 @@
</thead>
<tbody>
<row>
+ <entry>5.3.3</entry>
+ <entry>
+ Default charset changed from ISO-8859-1 to UTF-8.
+ </entry>
+ </row>
+ <row>
<entry>5.0.0</entry>
<entry>
Support for multi-byte character sets was added.