fix encoding issue

master
Nathaniel Smith 2014-10-15 02:02:48 -04:00
parent b21bc56b6b
commit c99556efc4
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
(def timestamp (.strftime (.now datetime) "%Y-%m-%d %H:%M:%S")) (def timestamp (.strftime (.now datetime) "%Y-%m-%d %H:%M:%S"))
(defn slurp [filename] (defn slurp [filename]
(.read (open filename "r"))) (.read (apply open [filename "r"] {"encoding" "utf-8"})))
(def default-html (slurp "/etc/skel/public_html/index.html")) (def default-html (slurp "/etc/skel/public_html/index.html"))