From 3a37b8339b5aad209ed2bea7f64844efd6cb9f88 Mon Sep 17 00:00:00 2001 From: "Colin M. Strickland" Date: Sat, 1 Nov 2014 11:20:14 +0000 Subject: [PATCH] utf-8 output when writing wordpress imported files the file writer in wordpress import did not set external-format --- plugins/import.lisp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/import.lisp b/plugins/import.lisp index c7421bb..eb146df 100644 --- a/plugins/import.lisp +++ b/plugins/import.lisp @@ -43,7 +43,8 @@ (with-open-file (out (merge-pathnames path (or output (repo *config*))) :direction :output :if-exists :supersede - :if-does-not-exist :create) + :if-does-not-exist :create + :external-format :utf-8) ;; TODO: What other data/metadata should we write out? (format out ";;;;;~%") (format out "title: ~A~%" title)