utf-8 output when writing wordpress imported files

the file writer in wordpress import did not set external-format
This commit is contained in:
Colin M. Strickland 2014-11-01 11:20:14 +00:00
parent 81fcf3a47a
commit 3a37b8339b

View file

@ -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)