Thunderbird misencodes "git format-patch" attachments with UTF-8; should add charset=UTF-8 to Content-Type: text/x-patch

UNCONFIRMED
Unassigned

Status

Thunderbird
Message Compose Window
UNCONFIRMED
3 years ago
3 years ago

People

(Reporter: Paul Eggert, Unassigned)

Tracking

38 Branch

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Reporter)

Description

3 years ago
Created attachment 8609888 [details] [diff] [review]
0045-Prefer-this-to-this-in-doc-strings.patch

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0
Build ID: 20150511103303

Steps to reproduce:

I ran 'git format-patch' on a repository that uses UTF-8 encoding, and attached to my outgoing mail the resulting .patch file, which contained some UTF-8 characters.  (I've attached this .patch file to this bug report.)


Actual results:

Thunderbird creates a .patch attachment with a header that says "Content-Type: text/x-patch;" with no charset attribute.


Expected results:

The header should say "Content-Type: text/x-patch; charset=UTF-8;".

This bug has caused problems for people trying to read my email with non-Thunderbird clients.  For details, please see:

http://lists.gnu.org/archive/html/emacs-devel/2015-05/msg00710.html
(Reporter)

Comment 1

3 years ago
Dmitry Gutov reports in the abovementioned thread on emacs-devel that the bug also occurs in Thunderbird 38 (beta).
Version: 31 → 38

Updated

3 years ago
Summary: Thunderbird misencodes "git format-patch" attachments with UTF-8 → Thunderbird misencodes "git format-patch" attachments with UTF-8; should add charset=UTF-8 to Content-Type: text/x-patch
You need to log in before you can comment on or make changes to this bug.