OK i am forcing the database to work in the UTF8 character set and am sending the email in UTF8. I beleive that I have all of the headers working right but I have 1 small problem. Outlook is not displaying the email in the correct character set (UTF8). How can I have Outlook automatically switch over to the UTF8 character set.
I already have the header stating the charset as UTF8 or am I doing that wrong?If I open the email and switch the encoding to UTF8 it views perfectly fine. So what am I doing wrong? Code: // headers $headers = "From: $frName <$frEmail>\r\n"; // From $headers .= "Reply-To: $frReToName<$frReToEmail>\n"; // Reply to $headers .= "MIME-Version: 1.0\n"; $headers .= "Content-type: text/plain; charset=utf8 \n"; //utf8 $headers .= "Content-Transfer-Encoding: base64 \r\n"; // base 64 encoding // body of the message mb_language("uni"); // set to Unicode $message = chunk_split(base64_encode($tMess)); //encode and split line into workable parts // display email echo "$add<br>"; echo "$sub<BR>"; echo "$headers<BR>"; echo "$message"; $decodedMessage = base64_decode($message); echo "$decodedMessage<BR>"; // send email $sent = mail($add, $sub, $message, $headers); -- PHP Internationalization Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php