hi all:
I'm using Mako templates with python code in utf8.
My template is like this:
*<%inherit file="local:templates.master"/><%def name="title()">
${info['name']}</%def><div>${info['summary']}</div><div>${info['body']}</div>*
but I get the following error: *UnicodeDecodeError: 'ascii' codec can't
decode byte 0xc3 in position 78: ordinal not in range(128)*
The problem is with the accented vowels. How is this possible if in my code I
have *# - * - coding: utf-8 - * -*
Regards
--
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/turbogears.
For more options, visit https://groups.google.com/groups/opt_out.