◐ Shell
clean mode source ↗

Message 146428 - Python tracker

Message146428

Author vstinner
Recipients ishimoto, terry.reedy, ubershmekel, vstinner
Date 2011-10-26.10:10:26
SpamBayes Score 5.515291e-05
Marked as misclassified No
Message-id <3099146.F7zfWAW4XK@dsk000552>
In-reply-to <1319612560.91.0.441550203825.issue13247@psf.upfronthosting.co.za>
Content
> Yuval Greenfield <ubershmekel@gmail.com> added the comment:
> Another option btw is to use utf-16

UTF-8, UTF-16 or any encoding different than the ANSI code page are not an 
option. The Windows bytes API expect filenames encoded to the ANSI code page. 
os.listdir() would raise an error (unknown directory) or return an empty list 
instead of the content of the directory.
History
Date User Action Args
2011-10-26 10:10:27vstinnersetrecipients: + vstinner, terry.reedy, ishimoto, ubershmekel
2011-10-26 10:10:26vstinnerlinkissue13247 messages
2011-10-26 10:10:26vstinnercreate