Convert string to camelcase format with utf8 support
<?php header('Content-Type: text/html; charset=utf-8'); $str = 'ČEdoMir ČaDEŠ'; $name = mb_convert_case($str, MB_CASE_TITLE, "UTF-8"); echo $name; // outputs Čedomir Čadeš ?>