if(!function_exists('mb_ucfirst'))
{
function mb_ucfirst($str, $encoding = 'utf-8')
{
$firstChar = mb_substr($str, 0, 1, $encoding);
$len = mb_strlen($str, $encoding);
return mb_strtoupper($firstChar, $encoding) . mb_substr($str, 1, $len, $encoding);
}
}