Message42779
Logged In: YES
user_id=92689
It would seem that even with a user's locale there's a chance os.listdir() fails when passed a unicode argument. I'm not sure it's reasonable for os.listdir() to fail at all (if the directory to be listed exists and we the right permissions).
If it's all too difficult to get right, I'm happy to put the listdir unicode support in a MacOSX switch. I know nothing about locales so I'm really not in a position to straighten this out. All I know is that if Py_FileSystemDefaultEncoding is known to be utf-8, it's just dumb _not_ to return unicode. You guys figure out the rest. |
|
Date |
User |
Action |
Args |
2007-08-23 15:20:30 | admin | link | issue683592 messages |
2007-08-23 15:20:30 | admin | create | |
|