From 6700312a0b523a82b6dcf1a096e6ae1726d04e75 Mon Sep 17 00:00:00 2001 From: Matthias Andreas Benkard Date: Fri, 10 Aug 2018 19:50:34 +0200 Subject: Assume UTF-8 when parsing templates. This fixes a problem where the Docker version of MulkCMS was unable to parse the comment moderation page template. --- mulkcms.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mulkcms.lisp') diff --git a/mulkcms.lisp b/mulkcms.lisp index d1f866e..0e53c2d 100644 --- a/mulkcms.lisp +++ b/mulkcms.lisp @@ -324,7 +324,7 @@ year month day hour minute second))) (defun template (template-name) - (parse-template-string (read-file-into-string (find-template template-name)))) + (parse-template-string (read-file-into-string (find-template template-name) :external-format :utf-8))) (defun format-article (article-params) (let ((article-template (template "article"))) -- cgit v1.2.3