note 56962 added to function.utf8-decode

From: Date: Tue, 20 Sep 2005 12:30:06 +0000
Subject: note 56962 added to function.utf8-decode
Groups: php.notes 
Request: Send a blank email to php-notes+get-95473@lists.php.net to get a copy of this message
The regex in the last comment has some typos. This is a syntactically valid one, don't know if it's correct though. You've to concat the expression in one long line. ^( [\x00-\x7f]| [\xc2-\xdf][\x80-\xbf]| [\xe0][\xa0-\xbf][\x80-\xbf]| [\xe1-\xec][\x80-\xbf]{2}| [\xed][\x80-\x9f][\x80-\xbf]| [\xee-\xef][\x80-\xbf]{2}| [\xf0][\x90-\xbf][\x80-\xbf]{2}| [\xf1-\xf3][\x80-\xbf]{3}| [\xf4][\x80-\x8f][\x80-\xbf]{2} )*$ ---- Manual Page -- http://www.php.net/manual/en/function.utf8-decode.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+56962 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+56962&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+56962&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+56962&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+56962&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+56962&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+56962&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+56962&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+56962&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#95473) next »