> I am very confused about unicode. Can someone point me in the right
> direction?
Try Python 3.1. This should accept Unicode strings directly for sp.call,
so you wouldn't need to encode first.
Regards,
Martin
--
http://mail.python.org/mailman/listinfo/python-list
Thanks. I looked around for alternatives but didn't find this one.
Rick
Chris Rebert wrote:
On Sat, Jul 18, 2009 at 3:30 PM, Rick King wrote:
Hello,
I want to copy files using subprocess.call or os.system where the file names
are non-ascii, e.g. Serbian(latin), c's and s's with hacheks,etc.
Rick King wrote:
Hello,
I want to copy files using subprocess.call or os.system where the file
names are non-ascii, e.g. Serbian(latin), c's and s's with hacheks,etc.
Windows stores all the file names in unicode so they are displayed ok in
explorer, and I can read them into my program with lis
On Sat, Jul 18, 2009 at 3:30 PM, Rick King wrote:
> Hello,
> I want to copy files using subprocess.call or os.system where the file names
> are non-ascii, e.g. Serbian(latin), c's and s's with hacheks,etc. Windows
> stores all the file names in unicode so they are displayed ok in explorer,
> and I
Hello,
I want to copy files using subprocess.call or os.system where the file
names are non-ascii, e.g. Serbian(latin), c's and s's with hacheks,etc.
Windows stores all the file names in unicode so they are displayed ok in
explorer, and I can read them into my program with listdir(u'.'), etc.