On 09/05/2012 07:51 AM, Ray Jones wrote:
> subprocess.call(['dolphin', '/my_home/testdir/\u044c\u043e\u0432'])
>
> Dolphin's error message: 'The file or folder
> /my_home/testdir/\u044c\u043e\u0432 does not exist'
>
> But if I copy the characters as seen by Bash's shell and paste them into
> my subprocess.call(), Dolphin recognizes the directory just fine.
>
> So is Dolphin unicode-dead, or am I missing something?
>
>
> Ray
Answering myself here.....

I suspect I'm missing something because once within the folders, Dolphin
properly recognizes the characters....even so far as writing Arabic and
Hebrew "backward"....I wonder....

Sure enough. If I use the glob.glob() non-unicode characters (\x93\xbe)
on the command line, Dolphin understands it just fine.

Thanks all.


Ray
(Still wondering where unicode fits into all this....)
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to