interpret utf-8 file names on OSX

This commit is contained in:
Just van Rossum 2003-01-09 23:20:31 +00:00
parent f07518ac22
commit c1a9cab8f0
1 changed files with 2 additions and 0 deletions

View File

@ -293,6 +293,8 @@ class Application(FrameWork.Application):
if done.has_key(path):
continue
name = string.strip(name)
if os.name == "posix":
name = unicode(name, "utf-8")
if name[-3:] == '---':
menu.addseparator()
elif isdir: