note 104012 deleted from function.strtoupper by sobak
| From: | sobak@php.net | Date: | Thu, 17 Nov 2016 06:30:41 +0000 |
| Subject: | note 104012 deleted from function.strtoupper by sobak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-207131@lists.php.net to get a copy of this message | ||
Note Submitter: dev dot gabiu at gmail dot com
----
This would be my short version for French characters:
<?php
function fullUpper($string){
return strtr(strtoupper($string), array(
"Ã " => "Ã",
"è" => "Ã",
"ì" => "Ã",
"ò" => "Ã",
"ù" => "Ã",
"á" => "Ã",
"é" => "Ã",
"Ã" => "Ã",
"ó" => "Ã",
"ú" => "Ã",
"â" => "Ã",
"ê" => "Ã",
"î" => "Ã",
"ô" => "Ã",
"û" => "Ã",
"ç" => "Ã",
));
}
?>