From a0d305f6c255601c58cb0abfe0d650e03b1054ac Mon Sep 17 00:00:00 2001 From: Peter Taoussanis Date: Wed, 4 Dec 2013 14:41:39 +0700 Subject: [PATCH] Postal appender now uses UTF-8 charset by default --- src/taoensso/timbre/appenders/postal.clj | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/taoensso/timbre/appenders/postal.clj b/src/taoensso/timbre/appenders/postal.clj index a27eeea..823cc10 100644 --- a/src/taoensso/timbre/appenders/postal.clj +++ b/src/taoensso/timbre/appenders/postal.clj @@ -22,7 +22,7 @@ {:from \"Bob's logger \" :to \"foo@example.com\"}})" [& [appender-opts {:keys [postal-config subject-len body-fn] :or {subject-len 150 - body-fn (fn [output] [{:type "text/plain" + body-fn (fn [output] [{:type "text/plain; charset=utf-8" :content output}])}}]] (let [default-appender-opts