note 39455 added to function.utf8-decode
| From: | AidanKehoephp-manual at parhasard dot net | Date: | Thu, 29 Jan 2004 10:19:42 +0000 |
| Subject: | note 39455 added to function.utf8-decode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-64357@lists.php.net to get a copy of this message | ||
Note that if <?php $str ?> is a UTF-8 encoded string, a call to <?php
preg_match_all('/./us', $str, $chars) ?> will result in <?php $chars[0] ?> being
an array of the UTF-8 encoded characters.
(I saw this on another manual page; I can't remember exactly where, but, thanks, whoever it
was, and I think this is an appropriate place to point it out too.)
----
Manual Page -- http://www.php.net/manual/en/function.utf8-decode.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+39455
Delete -- http://master.php.net/manage/user-notes.php?action=delete+39455&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+39455&report=yes
Search -- http://master.php.net/manage/user-notes.php