Ticket #2352 (closed defect: fixed)
Problem with umlaut in Subversion commit message
| Reported by: | horst.triebenbacher@… | Owned by: | jonas |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | ticket system | Version: | 0.9 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
I have commited a change to the subversion repository. The message contains an umlaut ä and added a note to an existing ticket - using the ref directive.
Now I'm not able to view the ticket - see Traceback below:
Traceback (most recent call last):
File "C:\Server\Python23\Lib\site-packages\trac\web\modpython_frontend.py", line 206, in handler
dispatch_request(mpr.path_info, mpr, env)
File "C:\Server\Python23\Lib\site-packages\trac\web\main.py", line 139, in dispatch_request
dispatcher.dispatch(req)
File "C:\Server\Python23\Lib\site-packages\trac\web\main.py", line 107, in dispatch
resp = chosen_handler.process_request(req)
File "C:\Server\Python23\Lib\site-packages\trac\ticket\web_ui.py", line 214, in process_request
self._insert_ticket_data(req, db, ticket, reporter_id)
File "C:\Server\Python23\Lib\site-packages\trac\ticket\web_ui.py", line 398, in _insert_ticket_data
changelog = ticket.get_changelog(db=db)
File "C:\Server\Python23\Lib\site-packages\trac\ticket\model.py", line 267, in get_changelog
for t, author, field, oldvalue, newvalue in cursor:
File "C:\Server\Python23\Lib\site-packages\trac\db.py", line 83, in __iter__
row = self.cursor.fetchone()
File "C:\Server\Python23\Lib\site-packages\trac\db.py", line 230, in fetchone
return row and self._convert_row(row) or None
File "C:\Server\Python23\Lib\site-packages\trac\db.py", line 226, in _convert_row
return tuple([(isinstance(v, unicode) and [v.encode('utf-8')] or [v])[0]
UnicodeDecodeError: 'utf8' codec can't decode byte 0x81 in position 28: unexpected code byte
I'm using Trac 0.9, Subversion 1.2.3 together with an Apache 2.0.54 on a Windows System.
Thanks in advance
Horst
PS: Any suggestions for a workaround are also welcome
Attachments
Change History
Note: See
TracTickets for help on using
tickets.


