UnicodeEncodeError when using os.listdir
<ul>
<li>OS: Windows 7, 64-bit</li>
<li>Python 3.1.3</li>
</ul>

<p>When I try to do this</p>

<pre><code>os.listdir("F:\\music")
</code></pre>

<p>I get this</p>

<pre><code>UnicodeEncodeError: 'gbk' codec can't encode character '\xe3' in position 643: illegal multibyte sequence
</code></pre>

<p><code>os.listdir</code> works with other directories so the cause of the problem is obviously some strangely-encoded file or folder within <code>F:\music</code> itself. How do I find the source of this error?</p>
