Преглед изворни кода

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)