emersion / go-imap

📥 An IMAP library for clients and servers
MIT License
2.1k stars 297 forks source link

imapclient: don't encode UTF-8 quoted strings with UTF8=ACCEPT #507

Closed emersion closed 1 year ago

emersion commented 1 year ago

UTF8=ACCEPT seems to be mostly for mailbox names and server-to-client quoted strings. It doesn't seem like we can send arbitrary UTF-8 quoted strings when the server supports UTF8=ACCEPT. This is still fine with IMAP4rev2.