Selaa lähdekoodia

Merge pull request #64 from cmstrickland/unicode-import

utf-8 output when writing wordpress imported posts
Brit Butler 10 vuotta sitten
vanhempi
commit
8a50b6c4e4
1 muutettua tiedostoa jossa 2 lisäystä ja 1 poistoa
  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)