Closed
Bug 1072288
Opened 10 years ago
Closed 10 years ago
Bugzilla send utf-8 mails with no encoding in mime headers
Categories
(Bugzilla :: Email Notifications, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 714724
People
(Reporter: aeder, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Firefox/31.0
Build ID: 20140716183446
Steps to reproduce:
Fresh Bugzilla install, UTF-8 database.
Cyrillic in bugs summary and comments.
Notifications and bug lists send as html mail.
In mime headers, after text/html or text/plain no encoding is specified.
As result, both LotusNotes and Thunderburd assume e-mail encoding wrong and show garbish instead of actual text (UTF-8 as ASCII).
My solution for this problem is to edit Bugzilla/BugMail.pm and whine.pl:
diff BugMail.pm BugMail.pm.bak
372c372
< content_type => 'text/plain; charset="UTF-8"',
---
> content_type => "text/plain",
382c382
< content_type => 'text/html; charset="UTF-8"',
---
> content_type => "text/html",
diff whine.pl whine.pl.bak
369c369
< 'type' => 'text/plain; charset="UTF-8"',
---
> 'type' => 'text/plain',
378c378
< 'type' => 'text/html; charset="UTF-8"',
---
> 'type' => 'text/html',
Actual results:
Unreadable e-mail notifications
Expected results:
Readable e-mail notfications with Cyrillic in it.
Updated•10 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•