[Rails] Re: Mailer template encoding error ( Spanish characters) not valid US-ASCII (obviously) ...

2011-03-18 Thread Erwin
I read this post in forum, lot of info ... thanks it's solved now http://www.ruby-forum.com/topic/374725 On 17 mar, 19:54, Frederick Cheung wrote: > On Mar 17, 6:07 pm, Erwin wrote: > > > > > class Notifier < ActionMailer::Base > >   default :charset => "utf-8" > > .. > >         mail(:t

[Rails] Re: Mailer template encoding error ( Spanish characters) not valid US-ASCII (obviously) ...

2011-03-17 Thread Erwin
Thanks Fred you mean it's a Ruby 1.9 issue, not Rails... ( this is why I could not find any doc on it in Rails API... maybe ) and of course it happen only in plain-text template... I still do not understand why this error raised only when the script was run from the cron task ... and never when r

[Rails] Re: Mailer template encoding error ( Spanish characters) not valid US-ASCII (obviously) ...

2011-03-17 Thread Frederick Cheung
On Mar 17, 6:07 pm, Erwin wrote: > > class Notifier < ActionMailer::Base >   default :charset => "utf-8" > .. >         mail(:to => destination, :subject => subject, :from => from) > do |format| >           format.text(:content_transfer_encoding => "base64") >           format.html(:content_trans