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 13:35:20 +0000 (13:35 +0000)
commitc4109d9287476d1f432fc411a040d24ce92a8675
tree0267f9f91a1d11d71fe0fa8ff001187e54de0887
parent7a371df58258c30895cefb960a1c2c1d1a233987
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.
src/imail/imail-imap.scm
src/imail/imap-response.scm