note 107096 deleted from function.strtoupper by sobak

From: Date: Thu, 17 Nov 2016 06:31:20 +0000
Subject: note 107096 deleted from function.strtoupper by sobak
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-207134@lists.php.net to get a copy of this message
Note Submitter: davaco at net dot hr ---- Simple function for uppercase encoding of croatian text! :) <?php function strtoupper_hr($a) { return strtr(mb_strtoupper($a, "utf-8"), array( " š" => " Š", " đ" => " Đ", " ž" => " Ž", " č" => " Č", " ć" => " Ć" )); } ?>

« previous php.notes (#207134) next »