Closed Bug 309633 Opened 19 years ago Closed 19 years ago

German special characters in Attachment are encoded wrong.

Categories

(Thunderbird :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: bugzilla, Assigned: mscott)

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b4) Gecko/20050908 Firefox/1.4
Build Identifier: Thunderbird 1.5 and 1.6a1

The German ö ü ä that cause the problem. 
They are encoded wrong so the filename is not recognized by the application
(outlook, webmailer).
The file is  detected the filename as something binary (.dat .bin ...) not as
the original file format (.doc .pdf)

Reproducible: Always

Steps to Reproduce:
1. attach a word document äää.doc with a German special character
2. send to yahoo or outlook or hotmail
3. the filename is called file.bin or something like that




Correct Working:

Content-Disposition: attachment; filename=" =?ISO-8859-1?Q?Mieterh=F6hung?= Z.doc"
Content-Transfer-Encoding: base64
Content-Type: application/octet-stream; name=" =?ISO-8859-1?Q?Mieterh=F6hung?=
Z.doc"

Wrong:

Content-Type: application/octet-stream;
name*=ISO-8859-1''Mieterh%F6hung%20Z.doc
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename*=ISO-8859-1''Mieterh%F6hung%20Z.doc
This is a "misfeature" in MS Outlook and some other mail clients that don't
support RFC 2231 encoded parameter values. Thunderbird is just following the
relevant standard here, see bug 193439 for the discussion about this.
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.