note 63559 added to function.strtoupper

From: Date: Thu, 23 Mar 2006 20:17:56 +0000
Subject: note 63559 added to function.strtoupper
Groups: php.notes 
Request: Send a blank email to php-notes+get-106489@lists.php.net to get a copy of this message
Se você é brasileiro e está usando um servidor não configurado como pt-BR experimente colocar este comando no início do script: setlocale("LC_CTYPE", "pt_BR"); Isso evitará este erro: $st = "informações"; $st=strtoupper($st); echo $st // INFORMAçõES colocando o setlocale a saída ficaria "INFORMAÇÕES" ---- Server IP: 200.185.109.103 Probable Submitter: 200.143.84.54 (proxied: 1.0 SESCONIBM) ---- X-Spam-Status: Yes, hits=7.4 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER, HEAD_ILLEGAL_CHARS autolearn=no version=2.64 ---- Manual Page -- http://www.php.net/manual/en/function.strtoupper.php Edit -- http://master.php.net/note/edit/63559 Del: integrated -- http://master.php.net/note/delete/63559/integrated Del: useless -- http://master.php.net/note/delete/63559/useless Del: bad code -- http://master.php.net/note/delete/63559/bad+code Del: spam -- http://master.php.net/note/delete/63559/spam Del: non-english -- http://master.php.net/note/delete/63559/non-english Del: in docs -- http://master.php.net/note/delete/63559/in+docs Del: other reasons-- http://master.php.net/note/delete/63559 Reject -- http://master.php.net/note/reject/63559 Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#106489) next »