protected function ucwordsUnicode($str, $encoding = 'UTF-8') { return mb_convert_case($str, MB_CASE_TITLE, $encoding); }