Opened 13 years ago
Last modified 11 years ago
#8570 closed defect
Genshi UnicodeDecodeError at hours_ticket.html — at Version 3
Reported by: | anonymous | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | high | Component: | TracHoursPlugin |
Severity: | major | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description (last modified by )
Genshi UnicodeDecodeError error while rendering template '/var/trac/.egg-cache/TracHoursPlugin-0.5.2-py2.4.egg-tmp/trachours/templates/hours_ticket.html', line 39, char -1
Change History (3)
comment:1 Changed 13 years ago by
comment:2 Changed 13 years ago by
I had the same issue with the 0.11 version. What helped me was the above with the following exceptions:
- the function name is to_unicode()
- omit the second parameter 'utf-8'
So what worked for me was:
<td>${to_unicode(record['date_started'])}</td>
By the way: what would happen, if someone uses special characters within their comments? Would that be dealt with directly when they enter the comment or would we face the same error
comment:3 Changed 12 years ago by
Description: | modified (diff) |
---|
Note: See
TracTickets for help on using
tickets.
You probably have a special character in your date like "März".
Try: