ActionMail Charset for email body

Hi Guys,

I succeeded in sending email with content-type big5. However, the content of the email is still utf-8!

I've tried to call the


or my content, but there is

"invalid byte sequence in UTF-8"

errors in a lot of places starting from actionmailer/lib/utils.rb (text.to_s.gsub(/\r\n?/, "\n"))

and it stop me from hacking the gems.

Any help is appreciated! Arthur

according to default_charset - The default charset used for the body and to encode the subject. Defaults to UTF-8. You can also pick a different charset from inside a method with charset .

[]( ActionMailer::Base.charset = 'big5' have a try!