Created
February 24, 2010 00:59
-
-
Save bradleybuda/312934 to your computer and use it in GitHub Desktop.
TMail very large attachment handling
This file contains 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
# TMail was crashing trying to process very large messages in a regexp | |
# match to check to see if the message body is UTF-8 or something | |
# crazy like ShiftJIS or some other Japanese thing. Let's just go | |
# ahead and assume that we're always dealing with UTF8 messages to fix | |
# the crash. | |
# | |
# This will probably break lots of other things. I am going straight | |
# to hell for this. | |
class String | |
def isutf8 | |
true | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment