Created
March 3, 2011 06:43
-
-
Save jugyo/852448 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # see also: http://d.hatena.ne.jp/takahashim/20101201/p1 | |
| class ActionMailer::Base | |
| def process_with_fix_encoding(*args) | |
| process_without_fix_encoding(*args) | |
| message.transport_encoding = '8bit' | |
| end | |
| alias_method_chain :process, :fix_encoding | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment