[Python-Dev] PEP 383: Non-decodable Bytes in System Character Interfaces
solipsis at pitrou.net
Mon Apr 27 23:55:41 CEST 2009
Simon Cross <hodgestar+pythondev <at> gmail.com> writes:
> $ touch $'\xFF\xAA\xFF'
> $ vi $'\xFF\xAA\xFF'
> $ egrep foo $'\xFF\xAA\xFF'
> All worked fine from my Bash shell with locale encoding set to UTF-8.
The PEP is precisely about making py3k able to better handle these files (right
now os.listdir() doesn't return the offending file in its list of results).
More information about the Python-Dev