On Mon, Apr 27, 2009 at 9:48 PM, "Martin v. Löwis" <mar...@v.loewis.de> wrote: > As Cameron says: it's out of the scope of the PEP. It really depends how > the operating system deals with them. Most likely, the files are not > accessible - not only not from Python, but also not accessible from > any other Unix program. Details depend on the specific operating system > software being used, and the specific parameters passed to it.
$ 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. I can also open the created file from the GNOME editor file dialog (it even tells me the filename is not valid in my locale's encoding). The Nedit editor also worked. So far I haven't found anything that failed. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com