浏览代码

utf-8 output when writing wordpress imported files

the file writer in wordpress import did not set external-format
Colin M. Strickland 10 年之前
父节点
当前提交
3a37b8339b
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      plugins/import.lisp

+ 2 - 1
plugins/import.lisp

@@ -43,7 +43,8 @@
43 43
   (with-open-file (out (merge-pathnames path (or output (repo *config*)))
44 44
                    :direction :output
45 45
                    :if-exists :supersede
46
-                   :if-does-not-exist :create)
46
+                   :if-does-not-exist :create
47
+                   :external-format :utf-8)
47 48
     ;; TODO: What other data/metadata should we write out?
48 49
     (format out ";;;;;~%")
49 50
     (format out "title: ~A~%" title)