template.py doesn't like Unicode objects

Bug #114703 reported by Aaron Swartz on 2007-05-14
2
Affects Status Importance Assigned to Milestone
web.py
Undecided
Aaron Swartz

Bug Description

template.py should automatically convert Unicode objects to UTF-8 strings when it tries to print them.

Why UTF-8? Is this always the encoding used by template.py?

I have a theory that everyone should use UTF-8 all the time and, as
part of this, this is the default charset on the Content-Type headers.
Maybe I shouldn't force this on other people, but it solves so many
problems and the only people who seem to have a problem with it are
the people pissed about Han unification.

Aaron Swartz (aaronsw) wrote :

fixed in r167

Changed in webpy:
assignee: nobody → me-aaronsw
status: Unconfirmed → Fix Committed
Changed in webpy:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers