Merge pull request #64 from cmstrickland/unicode-import

utf-8 output when writing wordpress imported posts
This commit is contained in:
Brit Butler 2014-11-01 09:51:52 -04:00
commit 8a50b6c4e4

View file

@ -43,7 +43,8 @@
(with-open-file (out (merge-pathnames path (or output (repo *config*))) (with-open-file (out (merge-pathnames path (or output (repo *config*)))
:direction :output :direction :output
:if-exists :supersede :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? ;; TODO: What other data/metadata should we write out?
(format out ";;;;;~%") (format out ";;;;;~%")
(format out "title: ~A~%" title) (format out "title: ~A~%" title)