Make sure the actual template is saved as a utf-8 encoded file.

On Jun 14, 5:31 am, andrei <[email protected]> wrote:
> This raises UnicodeDecodeError:
>
> test.py:
>
>     import web, os
>     render =
> web.template.render(os.path.abspath(os.path.dirname(__file__)))
>     render.test()
>
> test.html:
>
>     $var array = ["ÏÄÉÎ","Ä×Á","ÔÒÉ"]
>     $ test = "ÔÅËÓÔ"
>     <p>just a test</p>

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to