Capitalizes the first letter of a UTF-8 string.
$text: The string to convert.
The string with the first letter as uppercase.
function drupal_ucfirst($text) {
// Note: no mbstring equivalent!
return drupal_strtoupper(drupal_substr($text, 0, 1)) . drupal_substr($text, 1);
}