rename not supporting multi-byte characters

请求翻译

If I write:

rename('php109.tmp','test.jpg');

then it's fine and working.

but if I change it into:

rename('php109.tmp','中文.jpg');

it'll report

"No such file or directory...".

But if the multi-byte characters can be written into database then can be read out, then why it fails when it is renamed ?

4个回答