mirror of
https://git.sr.ht/~sircmpwn/aerc
synced 2026-01-12 01:41:34 +01:00
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 |
||
|---|---|---|
| .. | ||
| handlers | ||
| imap | ||
| lib | ||
| maildir | ||
| notmuch | ||
| types | ||
| handler_notmuch.go | ||
| worker_enabled.go | ||
| worker.go | ||