View Single Post
Old 08-06-2010, 10:43 AM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 46,643
Karma: 29634066
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Stick a u before each string

so use:

u"Garcia Marquéz Gabriel"

or safer replace non ascii chars with their unicode code points

u'Garcia Marqu\xe9z Gabriel'
kovidgoyal is online now   Reply With Quote