Author brotch
Recipients
Date 2007-08-05.08:36:16
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Python's default character coding is 'ascii' which can't convert unicode > 127 into chars.

Forcing the unicode string to encode as 'iso-8859-1' 

eg.
subprocess.call(cmd.encode('iso-8859-1')) 

resolves the problem and runs the correct command.
History
Date User Action Args
2007-08-23 14:58:50adminlinkissue1759845 messages
2007-08-23 14:58:50admincreate