Bug 103151 - arabic charset set when replying to (ASCII-only) mailing list messages
Summary: arabic charset set when replying to (ASCII-only) mailing list messages
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.8
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 105014 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-04-03 17:48 UTC by bruce.lilly
Modified: 2015-04-12 10:19 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description bruce.lilly 2005-04-03 17:48:12 UTC
Version:           1.8 (using KDE KDE 3.4.0)
Installed from:    SuSE RPMs
Compiler:          gcc 3.3.4 
OS:                Linux

Using Reply to mailing list, responding to an ASCII-only mailing list
message, Kmail sets the charset to ISO-8859-6 (arabic) for no
apparent reason. Settings for composer charset lists the following:

us-ascii
iso-8859-1
iso-8859-1 (local)
utf-8

Keep original charset was checked (but messages being responded to were in the deafult us-ascii charset).  I have since unchecked that option.

environment LC_CTYPE=en_US.ISO-8859-1

Messages are archived at (unfortunately, you cannot directly see the message headers from the HTML archive):

http://www1.ietf.org/mail-archive/web/ietf/current/msg34773.html
http://www.imc.org/ietf-smtp/mail-archive/msg01664.html

In each case, Kmail generated the following Content-Type header field:

Content-Type: text/plain;
  charset="iso-8859-6"
Comment 1 Ken Milmore 2005-05-01 18:38:55 UTC
Bug confirmed on slackware-current, KMail 1.8.  When replying to a multipart MIME message generated my Microsoft Outlook Express 6, original content had charset="iso-8859-1", but reply was assigned charset="iso-8859-6".  Problem only occurs with "Keep original charset" option ticked.
Comment 2 Michael Ellerman 2005-05-12 07:50:44 UTC
I'm seeing this on Debian unstable with the pkg-kde.alioth.debian.org packages.

It only happens with the keep original charset option, as Ken said.

It seems to happen anytime I reply to a MIME message which has iso-8859-1 as the charset. It gets converted to iso-8859-6 which is Arabic.

Kmail doesn't render the Arabic any differently, but other mail readers correctly display the Arabic charset in right-to-left mode, which looks kind of funny.

Possibly another bug, it also seems to *always* send my pgp signed messages as iso-8859-1, even when I put utf-8 above iso-8859-1 in my charset configuration.
Comment 3 Ari Steinberg 2005-06-01 00:04:20 UTC
I think bug 105014 is a dupe of this, but the information there is a bit more thorough than here.

My own observations of this happening to me are that it happens when responding to messages from Outlook (the most recent occurrence for me was when the other person was using Outlook 2003).  I am seeing it happen where the original message has charset us-ascii (different than comment #2 which says his original message was iso-8859-1).

I can forward the emails in question to someone who is working on this if it would help, but would rather not post them here.
Comment 4 bruce.lilly 2005-06-01 16:08:09 UTC
While looking for something else, I noticed a "Fallback character encoding"
box in Configure -> Appearance -> Message Window.  Guess what the default
is -- right, "Arabic (iso-8859-6)".

*Why* that's the default on a system with en locale, when it was added to
kmail and why there was no "change me" dialog, why this is buried under
appearance and message window rather than composer and charset (which is
what is seems to affect), why us-ascii (in fact the default charset for
the Internet Message format (RFCs 2045, 2046) isn't in the list of charsets
are mysteries.
Comment 5 Michael Ellerman 2005-06-01 16:17:40 UTC
God damn it, I thought I'd scrubbed every panel of that damn configuration dialog. Well spotted.

I will answer one of your "whys", it seems "Arabic (iso-8859-6)" is first in the alphabetically sorted list, so that'd be my guess why it's selected. It just happens to be the one on top of the list!

Argh! I love you kmail but sometimes I just wanna .... 
Comment 6 Chuck Coxhead 2005-08-02 18:28:03 UTC
*** This bug has been confirmed by popular vote. ***
Comment 7 Aquila 2006-09-04 10:19:29 UTC
I'm having the same problem here, Arabic was default...
Comment 8 Thomas McGuire 2007-05-08 15:41:02 UTC
*** Bug 105014 has been marked as a duplicate of this bug. ***
Comment 9 Christophe Marin 2009-05-30 20:55:54 UTC
This issue should have been fixed with KMail from KDE > 4.1. Can you confirm please ?
Comment 10 Laurent Montel 2015-04-12 10:19:08 UTC
Thank you for taking the time to file a bug report.

KMail2 was released in 2011, and the entire code base went through significant changes. We are currently in the process of porting to Qt5 and KF5. It is unlikely that these bugs are still valid in KMail2.

We welcome you to try out KMail 2 with the KDE 4.14 release and give your feedback.