Fix all unicode errors in rendering templates #30

Closed
anandology opened this Issue Nov 28, 2010 · 3 comments

Comments

Projects
None yet
2 participants
Contributor

anandology commented Nov 28, 2010

Noticed some unicode errors in templates. Here is one template that fails.

$ x = "మెయిల్"
$x
Contributor

anandology commented Nov 29, 2010

Another related issue from Launchpad.

https://bugs.launchpad.net/webpy/+bug/586609

This discussion has a possible fix:
http://groups.google.com/group/webpy/browse_thread/thread/a56134bd8b62df1f/e64ee673f9128357?#e64ee673f9128357

Just add .decode("utf-8") at Template(open(path).read().decode("utf-8"),...

@ghost ghost assigned anandology Apr 10, 2011

Contributor

anandology commented May 3, 2011

I think the unicode issues are fixed now.

@anandology anandology closed this May 3, 2011

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment