Copied file names becomes garbled
<p>I have PHP installed on a CentOS server, and I wanna transfer files from this (with PHP FTP) to a Windows FTP server that is running IIS. Now my problem, when the file name have non-latin characters it changes file names to something like 'ØªØ³Øª.3gp' (its name in CentOS is تست.3gp) I 've searched many times but no solutions. How can I fix this?</p>

<p>I think Windows use CP-1252 (Windows-1252) as charset and CentOS use UTF-8 as charset. But converting this with <code>iconv()</code> and <code>mb_convert_encoding()</code> didn't work.</p>
