From c1a9cab8f05403ebf7a8812e69de8bdb3fa1080b Mon Sep 17 00:00:00 2001 From: Just van Rossum Date: Thu, 9 Jan 2003 23:20:31 +0000 Subject: [PATCH] interpret utf-8 file names on OSX --- Mac/Tools/IDE/Wapplication.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Mac/Tools/IDE/Wapplication.py b/Mac/Tools/IDE/Wapplication.py index f78ef5e0a6c..5ad5589ff18 100644 --- a/Mac/Tools/IDE/Wapplication.py +++ b/Mac/Tools/IDE/Wapplication.py @@ -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: