The impression I got from the link I gave was that exec et al already
had the appropriate unicode support; system seems to be the exception.
Anyway, thanks for the info - that directory name is coming from a DOM
call, and I'm pretty sure it's returning Unicode, so that makes sense.
Andrew
--
ht
[EMAIL PROTECTED] wrote:
> 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 n
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 t