From 5789814dec3b1a7fe46902a8f477d585b36de6b4 Mon Sep 17 00:00:00 2001 From: sterni Date: Thu, 27 Jan 2022 16:06:28 +0100 Subject: fix(users/sterni/mblog): handle RFC2047 in subjects MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Non ASCII Subjects will use RFC2047 to encode their content. Using mime4cl's parse-RFC2047-text we obtain a list of ASCII strings and byte vectors tagged with their encoding. Using babel we can then decode the byte sequence, assuming the encoding is named the same in babel and RFC2047 (which it is for UTF-8 at least…). Change-Id: I2840672409452bd194fb1635721e338364d9b484 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5078 Reviewed-by: sterni Tested-by: BuildkiteCI --- users/sterni/mblog/packages.lisp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'users/sterni/mblog/packages.lisp') diff --git a/users/sterni/mblog/packages.lisp b/users/sterni/mblog/packages.lisp index 1d5aa07313ca..7e357f89ffac 100644 --- a/users/sterni/mblog/packages.lisp +++ b/users/sterni/mblog/packages.lisp @@ -8,6 +8,8 @@ (defpackage :note (:use :common-lisp + :babel + :babel-encodings :closure-html :who :cl-date-time-parser -- cgit 1.4.1