web2py source starts with # -*- coding: utf-8 -*-
Text being read from file was written encode('utf-8') so
read().decode('utf-8') produces the unicode. Forcing it unicode() again
doesn't change anything.
But, thanks for the suggestions! Any other ideas?
On Saturday, February 23, 2013 10:20:38 PM UTC+8, Cliff Kachinske wrote:
>
> Is your Web2py source file encoded UTF8?
>
> Have you tried prefacing the string with a lowercase 'u' for unicode?
>
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.