/** * UTF8 version of PHP::strtoupper() * * Convert a string to upper case, using the rules from the current locale * * @param string $string * * @return string */ public static function strtoupper($string) { if (self::$locale->language()->code() === 'tr' || self::$locale->language()->code() === 'az') { return TurkishUtf8::strtoupper($string); } else { return mb_strtoupper($string); } }