note 107096 modified in function.strtoupper by danbrown

From: Date: Fri, 06 Jan 2012 19:05:35 +0000
Subject: note 107096 modified in function.strtoupper by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-185394@lists.php.net to get a copy of this message
Simple function for uppercase encoding of croatian text! :) <?php function strtoupper_hr($a) { return strtr(mb_strtoupper($a, "utf-8"), array( " š" => " Š", " đ" => " Đ", " ž" => " Ž", " č" => " Č", " ć" => " Ć" )); } ?> --was-- Simple function for uppercase encoding of croatian text! :) function strtoupper_hr($a) { return strtr(mb_strtoupper($a, "utf-8"), array( " š" => " Š", " đ" => " Đ", " ž" => " Ž", " č" => " Č", " ć" => " Ć" )); } http://php.net/manual/en/function.strtoupper.php

« previous php.notes (#185394) next »