note 110543 deleted from function.mb-detect-encoding by aharvey

From: Date: Mon, 05 Nov 2012 03:18:32 +0000
Subject: note 110543 deleted from function.mb-detect-encoding by aharvey
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-191668@lists.php.net to get a copy of this message
Note Submitter: geoff at spacevs dot com ---- Users, please note that @Mahn is also wrong... "The detected character encoding or FALSE if the encoding cannot be detected from the given string." @ikatalog at web dot de's first function is correct, his 2nd one is not, it should be checking for '!== false', which is faster then a string comparison of 'UTF-8' as @Mahn suggested.

« previous php.notes (#191668) next »