function mb_convert($string, $type = "title"){
switch($type){
case "upper": $type = MB_CASE_UPPER;break;
case "lower": $type = MB_CASE_LOWER;break;
case "title": $type = MB_CASE_TITLE;break;
}
return mb_convert_case($string, $type, "UTF-8");
}