Hmmm.  After reading
http://kofoto.rosdahl.net/trac/wiki/UnicodeInPython I tried:

        system(cmd.encode(getfilesystemencoding()))

which works (nothing else changed).  But that seems odd - is this a bug
(the asymmetry - I read files with os.listdir with no explicit unicode
handling, but need to do something explicitly on output - seems wrong),
or am I going to be bitten by other errors later?

Thanks,
Andrew

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to