View Single Post
  #3   (View Single Post)  
Old 6th May 2008
stukov's Avatar
stukov stukov is offline
Real Name: Jean-Michel Philippon-Nadeau
Package Pilot
 
Join Date: May 2008
Location: Sherbrooke, Qc, Canada
Posts: 167
Default

Thanks for the reply lvlamb. It is much clearer now.

What confuses me is that I sent a message from me to me via Thunderbird. A look at the full headers shows me that the encoding is ISO8859-1 (my accents were displayed properly):
Code:
text/plain; charset=ISO-8859-1; format=flowed
I also have similar headers with the message sent via my Perl script. Sounds like MIME::Lite set them properly. However, the mails is still encoded in UTF-8 (it worked when I changed the encoding of Thunderbird from ISO08859-1 to UTF-8):
Code:
multipart/mixed; boundary="_----------=_1210097604302960"; charset="ISO-8859-15"
My first guess would be that I am missing something and Perl still sends the message in UTF-8 even if I change the headers of the e-mail for 8859-1. Am I right?
__________________
"Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius -- and a lot of courage -- to move in the opposite direction."
Reply With Quote