note 20365 added to function.htmlspecialchars
| From: | akira at kurogane dot net | Date: | Mon, 01 Apr 2002 14:42:56 +0000 |
| Subject: | note 20365 added to function.htmlspecialchars | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-28463@lists.php.net to get a copy of this message | ||
Beware of parsing JIS (aka 'iso-2002-jp') text through this function, as this function
does not appear to have a sense for multibyte characters and may corrupt some characters. Eg. the
japanese comma (the two ascii characters !" as viewed by an ascii client) gets transferred into
!" , which transforms the comma into a 'maru' mark and the following characters
into garbage.
Conceivably this could affect other multibyte charsets.
--
http://www.php.net/manual/en/function.htmlspecialchars.php
http://master.php.net/manage/user-notes.php?action=edit+20365
http://master.php.net/manage/user-notes.php?action=delete+20365
http://master.php.net/manage/user-notes.php?action=reject+20365