[Lift] Re: email encoding problem

2009-09-14 Thread David Pollak
On Sat, Sep 12, 2009 at 9:54 AM, night_stalker usur...@gmail.com wrote: Thank you all for your replies. I just modified net/liftweb/util/Mailer.scala, replaced all text/html with text/html;charset=UTF-8 , then problem solved. I'll check this in the result mail's Content-Type part

[Lift] Re: email encoding problem

2009-09-12 Thread night_stalker
the last part is like: Subject: hi MIME-Version: 1.0 Content-Type: multipart/alternative; boundary==_Part_0_21171036.1252770284921 --=_Part_0_21171036.1252770284921 Content-Type: text/html; charset=us-ascii Content-Transfer-Encoding: 7bit p??/p

[Lift] Re: email encoding problem

2009-09-12 Thread Viktor Klang
Content-Type: text/html; charset=us-ascii IMHO that should read: Content-Type: text/html; charset=UTF-8 So basically, the content-type isn't correctly set. On Sat, Sep 12, 2009 at 5:55 PM, night_stalker usur...@gmail.com wrote: the last part is like: Subject: hi MIME-Version: 1.0

[Lift] Re: email encoding problem

2009-09-12 Thread Indrajit Raychaudhuri
Indeed, but Content-Transfer-Encoding: 7bit could be the real suspect. I think, MimeBodyPart forces us-ascii charset for 7bit encoding. Cheers, Indrajit On Sep 12, 9:03 pm, Viktor Klang viktor.kl...@gmail.com wrote: Content-Type: text/html; charset=us-ascii IMHO that should read:

[Lift] Re: email encoding problem

2009-09-12 Thread night_stalker
Thank you all for your replies. I just modified net/liftweb/util/Mailer.scala, replaced all text/html with text/html;charset=UTF-8 , then problem solved. the result mail's Content-Type part becomes: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

[Lift] Re: email encoding problem

2009-09-12 Thread Viktor Klang
Good catch! On Sep 12, 2009 6:18 PM, Indrajit Raychaudhuri indraj...@gmail.com wrote: Indeed, but Content-Transfer-Encoding: 7bit could be the real suspect. I think, MimeBodyPart forces us-ascii charset for 7bit encoding. Cheers, Indrajit On Sep 12, 9:03 pm, Viktor Klang