mirror of
https://github.com/python/cpython.git
synced 2024-11-24 10:24:35 +08:00
interpret utf-8 file names on OSX
This commit is contained in:
parent
f07518ac22
commit
c1a9cab8f0
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user