<?php
$str='表/test.zip';
$str = mb_convert_encoding($str,"SJIS−win","UTF−8");
readfile(str);
?>
I got error with character 表. Error message is:
Warning: readfile(•\/test.zip): failed to open stream: No such file or directory in check.php on line 22 •\/test.zip
Of course 表/test.zip had already existed. I tried with other character except for text 表, all were OK, did NOT have any error.
Does anyone have any solution? Thank you very much for your help.
Note: It is not error about name of file, but error about name of path, name of folder is in JP. It is difference with php readdir problem with japanese language file name