You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by Sebastian Bazley <se...@apache.org> on 2016/04/02 19:06:45 UTC
[whimsy.git] [1/1] Commit 5ae9e22: Fix encoding warning message
Commit 5ae9e22c4378ca6ab4640511c33c9bcdb8ba730f:
Fix encoding warning message
Branch: refs/heads/master
Author: Sebb <se...@apache.org>
Committer: Sebb <se...@apache.org>
Pusher: sebb <se...@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