Bug 2655 - 8bit iso-8859 character sets are qp-encoded
Summary: 8bit iso-8859 character sets are qp-encoded
Status: RESOLVED WONTFIX
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Other (show other bugs)
Version: 3.8.0
Hardware: All All
: P3 trivial
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2012-05-02 12:00 UTC by madroach+claws
Modified: 2012-06-04 06:12 UTC (History)
0 users

See Also:


Attachments

Description madroach+claws 2012-05-02 12:00:11 UTC
The iso-8859 character sets are all 8bit, but are still quoted-printable encoded. Why? See below procmime.c:1200

EncodingType procmime_get_encoding_for_charset(const gchar *charset)
{
        if (!charset)
                return ENC_8BIT;
        else if (!g_ascii_strncasecmp(charset, "ISO-2022-", 9) ||
                 !g_ascii_strcasecmp(charset, "US-ASCII"))
                return ENC_7BIT;
        else if (!g_ascii_strcasecmp(charset, "ISO-8859-5") ||
                 !g_ascii_strncasecmp(charset, "KOI8-", 5) ||
                 !g_ascii_strcasecmp(charset, "Windows-1251"))
                return ENC_8BIT;
        else if (!g_ascii_strncasecmp(charset, "ISO-8859-", 9))
                return ENC_QUOTED_PRINTABLE;
        else if (!g_ascii_strncasecmp(charset, "UTF-8", 5))
                return ENC_QUOTED_PRINTABLE;
        else
                return ENC_8BIT;
}
Comment 1 Paul 2012-06-04 06:12:39 UTC
I believe that was done for safety.

Note You need to log in before you can comment on or make changes to this bug.