Well, it didn't complain before with just
r'text', while if I put
ur'text' I get
UnicodeDecodeError: 'utf8' codec can't decode byte 0xe8 in position
0: unexpected end of data
Check the contents of text (are they correct unicode?); if that's not the
problem then I haven't got a clue
while with ru'text' just a SyntaxError
then ur'text' is the correct syntax ;)
I'm still getting trouble for this string
interpolation
incipit = textForm % fields
with the same
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe8 in position
14: ordinal not in range(128)
make sure both textFrom and all elements in
fields are unicode.
Sorry to bother with this unicode stuff, but I'm
really struggling and
finding poor references on the net (if you have references, please
share, so I might try to find out something by myself :)
http://www.reportlab.com/i18n/python_unicode_tutorial.html might have some
hints, but feel free to ask :)
--valhallasw