Bug 4470 - [PATCH] Use superset charsets when decoding headers.
Summary: [PATCH] Use superset charsets when decoding headers.
Status: NEW
Alias: None
Product: Claws Mail (GTK 2)
Classification: Unclassified
Component: Other (show other bugs)
Version: 3.18.0
Hardware: PC Linux
: P3 normal
Assignee: users
URL:
Depends on:
Blocks:
 
Reported: 2021-04-18 18:28 UTC by wp
Modified: 2021-04-18 18:28 UTC (History)
0 users

See Also:


Attachments
Proposed patch. (1.58 KB, patch)
2021-04-18 18:28 UTC, wp
no flags Details | Diff

Description wp 2021-04-18 18:28:35 UTC
Created attachment 2199 [details]
Proposed patch.

Similar to how email contents are decoded with superset encodings by
default (e.g., GB18030 is used as the fallback for GB2312), this patch
allows message headers to be decoded similarly.

In particular, as mentioned in Bug 2110, it is common for Chinese emails
to specify GB2312 but include characters in GB18030. This patch allows
message subjects to be displayed correctly in those cases.

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