note 92800 added to function.mb-strtoupper

From: Date: Mon, 10 Aug 2009 07:33:22 +0000
Subject: note 92800 added to function.mb-strtoupper
Groups: php.notes 
Request: Send a blank email to php-notes+get-159260@lists.php.net to get a copy of this message
for some reason, there are instances that special characters do show when you use this function, but when you revisit or refresh the page the special characters doesn't appear anymore, ie GRSARMERING is being displayed instead of GRÆSARMERING. You have to provide the second parameter which charset you are using to override the value. in my case it's iso-8859-1, so the function would now look like mb_strtoupper($foo, 'iso-8859-1') ---- Server IP: 64.71.164.2 Probable Submitter: 116.50.179.170 ---- Manual Page -- http://www.php.net/manual/en/function.mb-strtoupper.php Edit -- https://master.php.net/note/edit/92800 Del: integrated -- https://master.php.net/note/delete/92800/integrated Del: useless -- https://master.php.net/note/delete/92800/useless Del: bad code -- https://master.php.net/note/delete/92800/bad+code Del: spam -- https://master.php.net/note/delete/92800/spam Del: non-english -- https://master.php.net/note/delete/92800/non-english Del: in docs -- https://master.php.net/note/delete/92800/in+docs Del: other reasons-- https://master.php.net/note/delete/92800 Reject -- https://master.php.net/note/reject/92800 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#159260) next »