Thread
:
Problem with preprocess_regexps and Unicode
View Single Post
12-17-2008, 11:58 AM
#
4
kovidgoyal
creator of calibre
Posts: 45,377
Karma: 27230406
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
The first thing I see wrong is
(re.compile(ru'\0092'), lambda match: ru'\u0027')
should be
(re.compile(ru'\u0092'), lambda match: ru'\u0027')
Note the missing u
kovidgoyal
View Public Profile
Visit kovidgoyal's homepage!
Find More Posts by kovidgoyal
Track Posts by kovidgoyal via RSS