#2115: Write tg.url wrapper
------------------------+---------------------------------------------------
Reporter: mramm | Owner: faide
Type: defect | Status: new
Priority: normal | Milestone: 2.0b2
Component: TurboGears | Version: trunk
Severity: normal | Resolution:
Keywords: |
------------------------+---------------------------------------------------
Comment (by mramm):
I implemented something basic in tg2 already, but it turns out that routes
does not support utf8 encoded strings either, so there is still not full
support.
We can either update routes to support utf-8 encoded strings, or we can
work with the older iri way of doing things.
There's a webhelpers helper that we can use to encode the unicode strings
before passing them to pylons.url.
http://docs.pylonshq.com/thirdparty/webhelpers/util.html#webhelpers.util.iri_to_uri
--
Ticket URL: <http://trac.turbogears.org/ticket/2115#comment:1>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---