Explorar el Código

Merge pull request #64 from cmstrickland/unicode-import

utf-8 output when writing wordpress imported posts
Brit Butler hace 10 años
padre
commit
8a50b6c4e4
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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)