I am uploading files which names are in cyrillic. But when I open the directory where I have saved this files , its names arent the same and are composed by very strange caracters РћР±СЏРІР°. My php file is encoded in UTF - 8 here is the code of the uploading:
if(move_uploaded_file($_FILES['picture']['tmp_name'] , 'test'.DIRECTORY_SEPARATOR.$_FILES['picture']['name'])){
echo "File uploaded successfully";
}
Here is all the code of the PHP file: