aerc/worker
Leszek Cimała e84e402e48 decode(RFC 2047) imap headers to fix encoding in subject & filenames
Me again,
this time fixing encoding of subjects and attachments. It was problem in
IMAP backend. While other backends user MessageInfo() function which
generates MessageInfo decoded via go-message methodes, IMAP worker is
creating MessageInfo directly, so all non-utf8 subjects and filenames
were in raw form.

This patch fixes it. Not sure if we should care about errors (if
DecodeHeader fails it returns raw string back).

>From what I see, this should solve all encoding problem (tested only
IMAP). So, now I can focus on features. ;-)

Have a great weekend!
Leszek
2019-12-07 14:30:33 -05:00
..
handlers Register worker in init. 2019-07-19 15:37:55 -04:00
imap decode(RFC 2047) imap headers to fix encoding in subject & filenames 2019-12-07 14:30:33 -05:00
lib Parse Reply-To header while parsing envelope 2019-11-17 13:24:23 -05:00
maildir Change search flags 2019-09-20 15:06:54 -04:00
notmuch Notmuch: be resilient to config errors 2019-11-01 11:02:01 -04:00
types Add sorting functionality 2019-09-20 14:56:02 -04:00
handler_notmuch.go Add notmuch backend 2019-08-08 10:10:34 +09:00
worker.go Register worker in init. 2019-07-19 15:37:55 -04:00
worker_enabled.go Register worker in init. 2019-07-19 15:37:55 -04:00