I want to change the name of uploaded file but the name which I want to change is in Persian
this is my php code
$imageType= explode("/",$_FILES["photo"]["type"]);
move_uploaded_file($_FILES["photo"] ["tmp_name"],"images/staff_photos/".$name."_".$fatherName."_".$lname.".".$imageType[1]);
($name, $fatherName, $lname)are the variables which contain Persian string values in echoing or print_r it shows the right name but the output file name is like this:
" مصطÙÛŒ_عبدالعزیز_علومی.jpeg " so How can I change the charset in utf-8