Skip to content

Commit

Permalink
kludge around utf8 characters in topic titles - This needs to be fixe…
Browse files Browse the repository at this point in the history
…d properly eventually
  • Loading branch information
rtanglao committed Jun 10, 2012
1 parent d9bedb1 commit 3a528a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion emailRepliersNonEOCLineGraph.rb
Expand Up @@ -88,6 +88,7 @@
g.write('non_eoc_hourly_replies.png')

non_eoc_reply_html = get_html_for_contributors(non_employees_or_champions.first(5))
non_eoc_reply_html = non_eoc_reply_html.gsub(/[\x80-\xff]/,"")
email_config = ParseConfig.new('emailgraphicblog.conf').params
from = email_config['from_address']
to_address = email_config['to_address'].split(",")
Expand All @@ -101,7 +102,6 @@
to to_address
subject subject_str
html_part do
content_type 'text/html; charset=UTF-8'
body non_eoc_reply_html + "<br>\n#NONeochourlyreplies \n#thunderbird \n#mozilla \n#thunderbirdmetrics "
end
add_file "non_eoc_hourly_replies.png"
Expand Down

0 comments on commit 3a528a8

Please sign in to comment.