summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorJust van Rossum <just@letterror.com>2003-01-09 23:20:31 (GMT)
committerJust van Rossum <just@letterror.com>2003-01-09 23:20:31 (GMT)
commitc1a9cab8f05403ebf7a8812e69de8bdb3fa1080b (patch)
tree1b9c2b2cee06e6ee4f0f5e427c7d39141eaa3381 /Mac
parentf07518ac22df9e09c59b7ebb0bf82ffe89438726 (diff)
downloadcpython-c1a9cab8f05403ebf7a8812e69de8bdb3fa1080b.zip
cpython-c1a9cab8f05403ebf7a8812e69de8bdb3fa1080b.tar.gz
cpython-c1a9cab8f05403ebf7a8812e69de8bdb3fa1080b.tar.bz2
interpret utf-8 file names on OSX
Diffstat (limited to 'Mac')
-rw-r--r--Mac/Tools/IDE/Wapplication.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mac/Tools/IDE/Wapplication.py b/Mac/Tools/IDE/Wapplication.py
index f78ef5e..5ad5589 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: