note 78685 added to function.mb-convert-encoding

From: Date: Tue, 23 Oct 2007 13:24:06 +0000
Subject: note 78685 added to function.mb-convert-encoding
Groups: php.notes 
Request: Send a blank email to php-notes+get-131659@lists.php.net to get a copy of this message
May be I'm not getting something, but this code: <?php print mb_detect_encoding( "ñ" ) print "<br/>" print mb_convert_encoding( "ñ", "UTF-8" ); ?> Will yield this output: UTF-8 ñ So, was the string encoded in UTF-8 or wasn't it? ---- Server IP: 201.216.232.3 Probable Submitter: 24.232.22.244 ---- Manual Page -- http://www.php.net/manual/en/function.mb-convert-encoding.php Edit -- https://master.php.net/note/edit/78685 Del: integrated -- https://master.php.net/note/delete/78685/integrated Del: useless -- https://master.php.net/note/delete/78685/useless Del: bad code -- https://master.php.net/note/delete/78685/bad+code Del: spam -- https://master.php.net/note/delete/78685/spam Del: non-english -- https://master.php.net/note/delete/78685/non-english Del: in docs -- https://master.php.net/note/delete/78685/in+docs Del: other reasons-- https://master.php.net/note/delete/78685 Reject -- https://master.php.net/note/reject/78685 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#131659) next »