Modify ↓
#776 closed defect (fixed)
Character encoding is wrong in wiki plain text format
Reported by: | anonymous | Owned by: | Christopher Lenz |
---|---|---|---|
Priority: | normal | Milestone: | 0.8 |
Component: | general | Version: | 0.7.1 |
Severity: | trivial | Keywords: | |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal 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 (0)
Change History (6)
comment:1 by , 20 years ago
Milestone: | → 0.8 |
---|---|
Severity: | normal → trivial |
comment:2 by , 20 years ago
Status: | new → assigned |
---|
comment:3 by , 20 years ago
Owner: | changed from | to
---|---|
Status: | assigned → new |
comment:4 by , 20 years ago
Status: | new → assigned |
---|
Note:
See TracTickets
for help on using tickets.
This also applies to:
?format=hdf
)Patch pending. Stealing bug from jonas ;-)