Set port coding to ISO-8859-1 for IMAP.
authorTaylor R Campbell <campbell@mumble.net>
Mon, 27 May 2019 17:54:34 +0000 (17:54 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Tue, 28 May 2019 23:58:34 +0000 (23:58 +0000)
commitd4902bec2074deb2d19a2ef278d86d02eecba5d8
treeed6d8be36b17bf37c5ee1cea110f76d763de903f
parentcc52b446e5d82836ddbff73efd3063cac7b829c0
Set port coding to ISO-8859-1 for IMAP.

This is a sleazy workaround: sometimes the input is really encoded as
UTF-8, but passing it through Scheme `strings' as ISO-8859-1 works
out to approximately the not-wrong thing.  Really we should be
operating on octets, not on characters-as-if-they-were-octets.

(cherry picked from commit c4109d9287476d1f432fc411a040d24ce92a8675)
src/imail/imail-imap.scm
src/imail/imap-response.scm