dtml-var url_quote fails with unicode strings

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

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)


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 :


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