Copying files with unicode names
<p>this was supposed to be a simple script</p>

<pre><code>import shutil

files = os.listdir("C:\\")
for efile in files:
    shutil.copy(efile, "D:\\")
</code></pre>

<p>It worked fine, until i tried it on a pc with files named with unicode characters!
python just converted these characters into question marks "????" when getting the list from os.listdir, and the copy process raised "file not found" exception!!</p>
