On Jun 24, 12:38 am, "Anand Chitipothu" <[EMAIL PROTECTED]> wrote:

> * Better unicode handling: output of the template is always unicode

I don't really understand all the ins-and-outs of unicode in Python,
but all of a sudden, any time I have a template that is trying to
output an extended unicode character, I'm getting an internal error,
with ...

  File "/opt/local/lib/python2.5/site-packages/web/template.py", line
712, in _join_output
    d[k] = "".join(d[k])
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position
64: ordinal not in range(128)

The data is coming from rdflib, which AFAIK, has proper unicode
support, so I'm not really sure why this would be the case?

Bruce


--~--~---------~--~----~------------~-------~--~----~
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