Opened 9 years ago

Closed 9 years ago

Last modified 8 years ago

#2493 closed defect (fixed)

[PATCH] Wiki page names can be in Unicode

Reported by: martin@… Owned by: Alec Thomas
Priority: high Component: TagsPlugin
Severity: major Keywords: unicode
Cc: Trac Release: 0.11


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/
--- tractags/	(revision 3160)
+++ tractags/	(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 9 years ago by Catalin BALAN

Issue confirmed.

This patch worked for me.

Thank you.

comment:2 Changed 9 years ago by Alec Thomas

Resolution: fixed
Status: newclosed

Fixed in r3875.

comment:3 Changed 8 years ago by Odd Simon Simonsen

#4213, #3348, #4801 and #3609 closed as duplicates.

comment:4 Changed 8 years ago by dreel@…

Can you renew binary archived source? I can't checkout from repos.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain Alec Thomas.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.