Hi Brook,
The place where the problem was hiding is correct, but single mb_strtoupper is not enough. 🙂
I end up with this:
protected function uc_first_letter( $string ) {
$string = urldecode($string);
return is_numeric( $string ) ? $string : mb_strtoupper( mb_substr($string, 0, 1, 'utf-8'), 'utf-8');
}
Thank you for the help.
-
This reply was modified 9 years, 4 months ago by
Sergey.