kmail composer uses wrong name for ibm866 charset
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kdepim (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Kmail composer understands the "ibm866" charset but uses "ibm 866" (with a space!) as its name in outgoing mail. This is incorrect, and other mail clients are confused by this space. I was hit by this when I received a mail with charset=ibm866, replied to it, and recipients could not read the reply because Kmail tried to use the same charset when replying but wrote 'charset="ibm 866"' in the header.
To reproduce:
In Kmail, go to Settings -> Composer -> Charset, try to add "ibm866" to the list. It adds "ibm 866" instead.
Or, alternatively:
Make sure the option "Keep original charset when replying ..." (in the same menu) is checked.
Get a mail with charset="ibm866" (for example, create a simple ascii mail and edit "Content-Type:" field by hand).
Reply to this mail and view the reply as plain text. It has
Content-Type: text/plain;
charset="ibm 866"
The clients that cannot read this include (some versions of) SquirrelMail, MS Outlook Express, The Bat.
I am using Gutsy, kmail version is 4:3.5.7enterpri
Qt: 3.3.7
KDE: 3.5.8
KMail: 1.9.6 (enterprise 0.20070907.709405)
Do you still observe this bug in more recent versions of kmail?
I just tried to reproduce this in both hardy and intrepid both with kde4 and kmail 1.10.1 using these steps
In Kmail, go to Settings -> Composer -> Charset, try to add "ibm866" to the list.
In both cases the entry was added to the list as ibm866, no space. It's looks like this has been fixed upstream.