svn: /phpdoc/en/trunk/reference/strings/functions/ htmlspecialchars.xml

From: Date: Wed, 30 Sep 2009 07:17:10 +0000
Subject: svn: /phpdoc/en/trunk/reference/strings/functions/ htmlspecialchars.xml
Groups: php.doc.cvs 
Request: Send a blank email to doc-cvs+get-5011@lists.php.net to get a copy of this message
torben Wed, 30 Sep 2009 07:17:10 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=288982 Log: Note that several charsets are effectively equivalent as far as htmlspecialchars() is concerned. Addresses bug #49412. Bug: http://bugs.php.net/49412 (Open) htmlspecialchars(): Add note that most charsets don't make any difference Changed paths: U phpdoc/en/trunk/reference/strings/functions/htmlspecialchars.xml Modified: phpdoc/en/trunk/reference/strings/functions/htmlspecialchars.xml =================================================================== --- phpdoc/en/trunk/reference/strings/functions/htmlspecialchars.xml 2009-09-30 06:52:47 UTC (rev 288981) +++ phpdoc/en/trunk/reference/strings/functions/htmlspecialchars.xml 2009-09-30 07:17:10 UTC (rev 288982) @@ -96,6 +96,15 @@ Defines character set used in conversion. The default character set is ISO-8859-1. </para> + <para> + For the purposes of this function, the charsets + <literal>ISO-8859-1</literal>, <literal>ISO-8859-15</literal>, + <literal>UTF-8</literal>, <literal>cp866</literal>, + <literal>cp1251</literal>, <literal>cp1252</literal>, and + <literal>KOI8-R</literal> are effectively equivalent, as the + characters affected by <function>htmlspecialchars</function> + occupy the same positions in all of these charsets. + </para> &reference.strings.charsets; </listitem> </varlistentry>

« previous php.doc.cvs (#5011) next »