Send e-mail with charset iso-8859-1

I have a rails application that sends e-mails. The e-mails currently
use the utf-8 charset, but I have to change this to iso-8859-1 since
it doesn't play well with Outlook. (Norwegian characters such as ÆØÅ
are not displayed correctly, because Outlook doesn't recognize the
utf-8 charset)

1. I've set the default charset i the environment, but this does not
work. (ActionMailer::Base.default_charset = "iso-8859-1")
2. I've tried to set the @charset variable, but this does not work
    @subject = '..'
    @recipients = '...'
    @charset = 'iso-8859-1'

It's seem that rails simply ignores every attempt to change the
What to do??

Kind regards,
Eivind Løland-Andersen

Anton Hosenträger wrote:

and first for this above to work you have to have an initializer:

class String
  def to_iso
    Iconv.conv('ISO-8859-1', 'utf-8', self)

class NilClass
  def to_iso
    Iconv.conv('ISO-8859-1', 'utf-8', '')

(code provided by railway team)

Hi, I have the same problem with an application. I'm new in this so I
need to know where to add theses lines you say.
Thank you.