dtml-var url_quote fails with unicode strings

Bug #143273 reported by Simon Michael on 2004-12-29
0
Affects Status Importance Assigned to Milestone
Zope 2
Medium
Unassigned

Bug Description

eg: < dtml-var "u'Otto Kek\xe4l\xe4inen'" url_quote> gives

    * Module DocumentTemplate.DT_Var, line 338, in url_quote

UnicodeEncodeError: 'ascii' codec can't encode character u'\xe4' in position 8: ordinal not in range(128)

Changed in zope2:
status: New → Confirmed
assignee: nobody → Jens Vagelpohl (dataflake)

Fixed:

On the Zope 2.12 branch: http://svn.zope.org/?rev=114734&view=rev

On the DocumentTemplate trunk (for inclusion in Zope trunk): http://svn.zope.org/?rev=114735&view=rev

Changed in zope2:
status: Confirmed → Fix Committed
Changed in zope2:
milestone: none → 2.12.10
Simon Michael (simon) wrote :

Thanks!

Changed in zope2:
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