problems with the ucwords fuction

From: Date: Mon, 22 Apr 2002 16:17:39 +0000
Subject: problems with the ucwords fuction
Groups: php.windows 
Request: Send a blank email to php-windows+get-13231@lists.php.net to get a copy of this message
i´m getting an error with the ucwords function... if i use it to uppercase the first letter of every string and that string is something like $string="this is a foo string"; echo ucwords ($string); my output is ok This Is A Foo String but if i use some special chars like $string"este é um teste em português"; echo ucwords($string); my output is Este É Um Teste em PortuguêS"; every char right before any special character is in upper too any one know an other funcion who works? thanks in advance Cassiano Dal Pizzol

« previous php.windows (#13231) next »