Ticket #5366 (closed defect: duplicate)
Cannot sort on fields with Unicode characters
| Reported by: | gaobo.pub@… | Owned by: | jonas |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | ticket system | Version: | |
| Severity: | normal | Keywords: | |
| Cc: |
Description (last modified by cboos) (diff)
As described in title, when sorting on such fields, it reports an error. Included as follows:
Traceback (most recent call last):
File "/var/lib/python-support/python2.5/trac/web/main.py", line 387, in dispatch_request
dispatcher.dispatch(req)
File "/var/lib/python-support/python2.5/trac/web/main.py", line 237, in dispatch
resp = chosen_handler.process_request(req)
File "/var/lib/python-support/python2.5/trac/ticket/report.py", line 88, in process_request
resp = self._render_view(req, db, id)
File "/var/lib/python-support/python2.5/trac/ticket/report.py", line 243, in _render_view
self.add_alternate_links(req, args)
File "/var/lib/python-support/python2.5/trac/ticket/report.py", line 378, in add_alternate_links
href = '&' + urllib.urlencode(params)
File "urllib.py", line 1250, in urlencode
v = quote_plus(str(v))
UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-1: ordinal not in range(128)
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


