whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sebastian Bazley <s...@apache.org>
Subject [whimsy.git] [1/1] Commit 5ae9e22: Fix encoding warning message
Date Sat, 02 Apr 2016 17:06:45 GMT
Commit 5ae9e22c4378ca6ab4640511c33c9bcdb8ba730f:
    Fix encoding warning message


Branch: refs/heads/master
Author: Sebb <sebb@apache.org>
Committer: Sebb <sebb@apache.org>
Pusher: sebb <sebb@apache.org>

------------------------------------------------------------
www/roster/public_json_common.rb                             | ++ 
------------------------------------------------------------
2 changes: 2 additions, 0 deletions.
------------------------------------------------------------


diff --git a/www/roster/public_json_common.rb b/www/roster/public_json_common.rb
index 355d3e8..b2625d5 100644
--- a/www/roster/public_json_common.rb
+++ b/www/roster/public_json_common.rb
@@ -97,6 +97,8 @@ def write_output(file, results)
               body "\n#{out}\n"
             end
           end
+          # in spite of what the docs say, this does not seem to work in the body above
+          mail.charset = 'utf-8'
           # deliver mail
           mail.deliver!
         end

Mime
View raw message