note 92118 deleted from function.utf8-encode by danbrown

From: Date: Thu, 09 Jul 2009 15:25:40 +0000
Subject: note 92118 deleted from function.utf8-encode by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-158116@lists.php.net to get a copy of this message
Note Submitter: svenmika ---- I have to make a small correction to the is_utf8 function that hmdker at gmail dot com suggested. It has to be: if ($c >= 128) and not if ($c > 128) A value of exactly 128 (binary 10000000) in the first byte of a character is invalid.

« previous php.notes (#158116) next »