Problem with subject header
Hello. Thanks for you library!
I think there is a problem in this function (https://gitlab.common-lisp.net/cl-smtp/cl-smtp/blob/master/cl-smtp.lisp#L70). When I send string with non-ascii characters gmail is eat spaces, tabs and, I think, other ascii-characters. When I use non-ascii characters, string is mix of encoded non-ascii chars and not encoded ascii. For example, when I try this:
(cl-smtp::rfc2045-q-encode-string "Текст с пробелами")
I get: "=?UTF-8?Q?=D0=A2=D0=B5=D0=BA=D1=81=D1=82?= =?UTF-8?Q?=D1=81?= =?UTF-8?Q?=D0=BF=D1=80=D0=BE=D0=B1=D0=B5=D0=BB=D0=B0=D0=BC=D0=B8?="
When I slightly fixed function rfc2045-q-encode-string
and get this: "=?UTF-8?Q?=D0=A2=D0=B5=D0=BA=D1=81=D1=82=20=D1=81=20=D0=BF=D1=80=D0=BE=D0=B1=D0=B5=D0=BB=D0=B0=D0=BC=D0=B8?="
, gmail is correctly displayed subject in letter.