note 55228 added to function.mb-detect-encoding

From: Date: Thu, 28 Jul 2005 01:48:52 +0000
Subject: note 55228 added to function.mb-detect-encoding
Groups: php.notes 
Request: Send a blank email to php-notes+get-92605@lists.php.net to get a copy of this message
beware : even if you need to distinguish between UTF-8 and ISO-8859-1, and you the following detection order (as chrigu suggests) mb_detect_encoding('accentuée' , 'UTF-8, ISO-8859-1') returns ISO-8859-1, while mb_detect_encoding('accentué' , 'UTF-8, ISO-8859-1') returns UTF-8 bottom line : an ending 'é' (and probably other accentuated chars) mislead mb_detect_encoding ---- Manual Page -- http://www.php.net/manual/en/function.mb-detect-encoding.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+55228 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+55228&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+55228&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+55228&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+55228&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+55228&report=yes&reason=non-english Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+55228&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+55228&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#92605) next »