Modify ↓
Ticket #776 (closed defect: fixed)
Opened 8 years ago
Last modified 3 years ago
Character encoding is wrong in wiki plain text format
| Reported by: | anonymous | Owned by: | cmlenz |
|---|---|---|---|
| Priority: | normal | Milestone: | 0.8 |
| Component: | general | Version: | 0.7.1 |
| Severity: | trivial | Keywords: | |
| Cc: | |||
| Release Notes: | |||
| API Changes: | |||
Description
Firefox tries to render the text as ISO-8859-1, but it's sent in utf-8 as everything else in trac.
For example: http://projects.edgewall.com/trac/wiki/TracUnicode?format=txt
I guess the line
self.req.send_header('Content-Type', 'text/plain')
in display_txt should be
self.send_header('Content-Type', 'text/plain;charset=utf-8')
similar to as it is in display in core.py
Attachments
Change History
comment:1 Changed 8 years ago by daniel
- Milestone set to 0.8
- Severity changed from normal to trivial
comment:2 Changed 8 years ago by jonas
- Status changed from new to assigned
comment:3 Changed 8 years ago by cmlenz
- Owner changed from jonas to cmlenz
- Status changed from assigned to new
comment:4 Changed 8 years ago by cmlenz
- Status changed from new to assigned
comment:5 Changed 8 years ago by cmlenz
… and
- Unified diffs in the Changeset
comment:6 Changed 8 years ago by cmlenz
- Resolution set to fixed
- Status changed from assigned to closed
Fixed in [952].
Note: See
TracTickets for help on using
tickets.



This also applies to:
Patch pending. Stealing bug from jonas ;-)