Thread
:
Translating my plugin?
View Single Post
01-19-2011, 11:00 AM
#
5
kovidgoyal
creator of calibre
Posts: 43,871
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You should escape non ascii strings, to be safe. So the string äöü becomes u'\xe4\xf6\xfc'.
Or if you want to use unescaped strings, use a coding declaration, like
# -*- coding: utf-8 -*-
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS