<div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Java is not capable of doing that.  Mono, as I keep pointing out, is. It uses NULLs to escape invalid UNIX filenames.  Please see:<br>


<br>
<a href="http://go-mono.com/docs/index.aspx?link=T%3AMono.Unix.UnixEncoding" target="_blank">http://go-mono.com/docs/index.aspx?link=T%3AMono.Unix.UnixEncoding</a><br>
<br>
&quot;The upshot to all this is that Mono.Unix and Mono.Unix.Native can list, access, and open all files on your filesystem, regardless of encoding.&quot;<br>
</blockquote></div><br>OK, so why not adopt the Mono solution in CPython?  It seems to produce valid unicode strings, removing at least one issue with PEP 383.  It also means that IronPython and CPython actually would be compatible.<br>

<br>Tom<br><br>