Opened 5 years ago

Closed 5 years ago

#5987 closed defect (duplicate)

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

Reported by: ukubuku@… Owned by: athomas
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 5 years ago by otaku42

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

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.