[Kde-pim] Re: KMail and characters sets (=20 problem)
Thomas McGuire
mcguire at kde.org
Mon Mar 14 18:41:47 GMT 2011
Hi,
On Monday, March 14, 2011 12:43:51 AM Peter wrote:
> Some emails being sent from KMail refuse to use the char set defined.
>
> Some lines end in
>
> = , and then the next line starts in
>
> =20
>
> and there are a whole lot of lines with "=20" in them.
>
> The emails with the 'garbage' have this in the headers
>
> MIME-Version: 1.0
> Content-Type: Text/Plain;
> charset="utf-8"
> Content-Transfer-Encoding: quoted-printable
The "garbage" you are seeing in the raw emails is MIME encoding for non-ascii
characters. =20 and other such sequences are the quoted-printable transfer
encoding.
It is not "garbage", encoding of email messages is necessary to display non-
ASCII characters. Every email program in the world should support that. Why
are you looking at the raw mail?
> and the emails that look okay have this
>
> MIME-Version: 1.0
> Content-Type: Text/Plain;
> charset="iso-8859-1"
> Content-Transfer-Encoding: 7bit
>
> or sometimes a charset of us-ascii I think.
If the mail only uses some subset of ASCII characters, then 7bit encoding can
be used. Only when the mails have non-ASCII characters, some sort of encoding
will be used, for example quoted-printable as shown above.
> Is there anyway way to FORCE either is-ascii or iso-8859-1
Yes. In the composer, manually choose that encoding in Options->Set Encoding.
It is also somewhere in the config menu.
> What characters will make the email contain garbage ? Like wjat about
> quotes, single quotes, underlines, dashes, double equal signs, etc, etc ??
Everything else than the characters shown in the first table of
http://www.asciitable.com/ will need special encoding.
You should really not worry about encoding issues, using non-ASCII characters
is understood by virtually every mail client today, MIME encodings like
qouted-printable have been around for more than a decade.
Regards,
Thomas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kde-pim/attachments/20110314/ff314cd6/attachment.sig>
-------------- next part --------------
_______________________________________________
KDE PIM mailing list kde-pim at kde.org
https://mail.kde.org/mailman/listinfo/kde-pim
KDE PIM home page at http://pim.kde.org/
More information about the kde-pim
mailing list