[Tutor] Unicode? UTF-8? UTF-16? WTF-8? ;)

eryksun eryksun at gmail.com
Wed Sep 5 17:18:27 CEST 2012


On Wed, Sep 5, 2012 at 10:51 AM, Ray Jones <crawlzone at gmail.com> 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'

"\u" only codes a BMP character in unicode literals, i.e. u"unicode
literal". You forgot the 'u'.


More information about the Tutor mailing list