Opened 13 years ago

Closed 12 years ago

#5987 closed defect (duplicate)

Unicode error if tag points to wiki page with non-ascii name

Reported by: ukubuku@… Owned by: Alec Thomas
Priority: highest Component: TagsPlugin
Severity: blocker Keywords:
Cc: Trac Release: 0.11


It is not a problem to have non-ascii tag names, but if a page with non-ascii name has some tags, and you trying to find the page by the existing tag like:

/tags?q='system' аnd the page 'Система' (cyrillic wiki page name) has the tag "System" then:

you got an internal error:

UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-6: ordinal not in range(128)


File "/Library/Python/2.5/site-packages/Trac-0.11.4-py2.5.egg/trac/web/", line 435, in _dispatch_request
File "/Library/Python/2.5/site-packages/Trac-0.11.4-py2.5.egg/trac/web/", line 205, in dispatch
File "build/bdist.macosx-10.5-i386/egg/tractags/", line 99, in process_request
File "build/bdist.macosx-10.5-i386/egg/tractags/", line 80, in expand_macro
File "build/bdist.macosx-10.5-i386/egg/tractags/", line 80, in <lambda>

Attachments (0)

Change History (1)

comment:1 Changed 12 years ago by Michael Renzmann

Resolution: duplicate
Status: newclosed

Duplicate of #3334.

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.