Guido van Rossum schrieb: > On Tue, Sep 30, 2008 at 11:13 AM, Georg Brandl <[EMAIL PROTECTED]> wrote: >> Victor Stinner schrieb: >>> On Windows, we might reject bytes filenames for all file operations: open(), >>> unlink(), os.path.join(), etc. (raise a TypeError or UnicodeError) >> >> Since I've seen no objections to this yet: please no. If we offer a >> "lower-level" bytes filename API, it should work for all platforms. > > I'm not sure either way. I've heard it claim that Windows filesystem > APIs use Unicode natively. Does Python 3.0 on Windows currently > support filenames expressed as bytes? Are they encoded first before > passing to the Unicode APIs? Using what encoding?
Oh, ok. I had assumed Windows just uses a fixed encoding without the problem of misencoded filenames. Georg -- Thus spake the Lord: Thou shalt indent with four spaces. No more, no less. Four shall be the number of spaces thou shalt indent, and the number of thy indenting shall be four. Eight shalt thou not indent, nor either indent thou two, excepting that thou then proceed to four. Tabs are right out. _______________________________________________ Python-3000 mailing list Python-3000@python.org http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com