Opened 6 years ago

Closed 6 years ago

Last modified 5 years ago

#2493 closed defect (fixed)

[PATCH] Wiki page names can be in Unicode

Reported by: martin@… Owned by: athomas
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 6 years ago by catalin.balan@…

Issue confirmed.

This patch worked for me.

Thank you.

comment:2 Changed 6 years ago by athomas

  • Resolution set to fixed
  • Status changed from new to closed

Fixed in r3875.

comment:3 Changed 5 years ago by osimons

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

comment:4 Changed 5 years ago by dreel@…

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

Add Comment

Modify Ticket

as closed .
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from athomas. Next status will be 'closed'.
The resolution will be deleted. Next status will be 'reopened'.

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

Note: See TracTickets for help on using tickets.