ooyala/barkeep — pull request #322 by guzmanbraso (2012-09-11 23:39:25+00:00)
Title: Fix for issue ooyala/barkeep#285

Hi,

I was dealing with the same issue as described in #285 because my Google first and last name both have special chars (á and ó respectively).

In my case, there was no issue with the from or to address as barkeep latest version does not use user firstname or lastname either in the from or destination address.

However, it does use the user names inside subject, and that was the reason I was unable to get any email out, failing always with:
"Encoding::UndefinedConversionError "\xC3" from ASCII-8BIT to UTF-8..."

This patch forces the subject to be sent in utf-8 no matter what charset data currently has, as data is taken from Google I don't expect this to be a problem with most users.