Closed
Bug 311122
Opened 19 years ago
Closed 17 years ago
Bugmail does not specify content-type for utf8
Categories
(Bugzilla :: Email Notifications, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 3.0
People
(Reporter: bugreport, Assigned: mkanat)
References
Details
(Whiteboard: [blocker will fix])
Ideally, the content-type should follow trhe UTF-8 setting in defparams. That
may be tricky considering the newchangedmail parameter. Most likely, we should
change the default and put a reminder where the UTF-8 selection is controlled.
joel Mail clients (includign thunderbird) seem to be very spotty about
displaying the Asian characters properly
mkanat joel: Is the Content-Type header correct? And does the viewer have the
right fonts installed?
joel The bugmail doesn't have content-type.
mkanat joel: Ahh, that'll break it, then.
joel What should it be... UTF-8??
mkanat joel: It'll need a Content-Type: text/plain;charset=utf-8
mkanat joel: Yeah.
joel sounds like a bug... that should happen automatically when UTF-8 is selected.
mkanat joel: RFC specifies that mails without a content-type are in ISO-8859-1.
Comment 1•19 years ago
|
||
<bkor> is that with 2.21? I have content-type utf-8 there
encode_message in Bugzilla/BugMail.pm does add that header +
Content-Transfer-Encoding, but only if it contains 8bit chars (which is assumed
to be utf8). However, these headers are not enough. On bugzilla.gnome.org we use
the following:
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
The UTF-8 (caps) didn't work for someone. utf-8 did. Of course
Content-transfer-encoding is correctly handled by encode_message.
Reporter | ||
Comment 2•19 years ago
|
||
This works for the content.
It is hard to say how this should be handled. Should newchangedmail be replaced
with a template?
Summary: Bugmail does not speciy content-type → Bugmail does not speciy content-type for utf8
Comment 3•19 years ago
|
||
MessageToMTA calls encode_message under certain conditions, which does some Content-Type setting (including charset specification) for message parts. Maybe we can teach MessageToMTA to add a correct Content-Type header for all other messages, too, and remove the stuff from templates where they're doing it themselves?
Assignee | ||
Comment 4•18 years ago
|
||
bug 353711 will fix this.
Depends on: 353711
Whiteboard: [blocker will fix]
Updated•18 years ago
|
Summary: Bugmail does not speciy content-type for utf8 → Bugmail does not specify content-type for utf8
Assignee | ||
Comment 5•17 years ago
|
||
And it was indeed fixed there, long ago. :-)
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Target Milestone: --- → Bugzilla 3.0
![]() |
||
Updated•11 years ago
|
Assignee: email-notifications → mkanat
You need to log in
before you can comment on or make changes to this bug.
Description
•