Hi, I am using ActionMailer to recieve emails as per the usual method. I use postfix. My Database is setup for utf8 encoding. I get a database error when I try to store email.body into a record in the database. This means that action mailer is returning the body string in the original email encoding. abstract_adapter.rb:128:in `log'': RuntimeError: ERROR C22021 Minvalid byte sequence for encoding "UTF8": 0x92 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 How should I handle this? Must I use Iconv to manually convert this data by examining the content-type field of the email? The body must end up in utf8 form when it gets stored into the database. Regards, Jason --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---