Modify ↓
#2493 closed defect (fixed)
[PATCH] Wiki page names can be in Unicode
Reported by: | Owned by: | Alec Thomas | |
---|---|---|---|
Priority: | high | Component: | TagsPlugin |
Severity: | major | Keywords: | unicode |
Cc: | Trac Release: | 0.11 |
Description
Listings that contained wiki pages with unicode in the name caused an 'ascii codec can't ....' exception.
This simple patch fixes the problem:
Index: tractags/macros.py =================================================================== --- tractags/macros.py (revision 3160) +++ tractags/macros.py (working copy) @@ -77,7 +77,7 @@ ul = builder.ul(class_='taglist') for resource, tags in sorted(query_result, - key=lambda r: str(r[0].id)): + key=lambda r: unicode(r[0].id)): tags = sorted(tags) if tags: rendered_tags = [
Attachments (0)
Change History (4)
comment:1 Changed 17 years ago by
comment:4 Changed 16 years ago by
Can you renew binary archived source? I can't checkout from repos.
Note: See
TracTickets for help on using
tickets.
Issue confirmed.
This patch worked for me.
Thank you.