Hi,

I'm having problem with character encoding in PHP mail functions.

CODE:
$headers.= "Content-Type: text/html; charset=iso-8859-1";
                $headers .= "MIME-Version: 1.0 ";
                $headers .= "Content-Transfer-Encoding: 8bit".$eol.$eol;
$headers .="Content-Type: multipart/alternative; boundary=0-92766976-1174383938=:29106";
                $to = "[EMAIL PROTECTED]";
                $subject = $_POST['cat'];
                $body = $_POST['text'];
                if (mail($to, $subject, $body, $headers))
                {
echo('<p>Message successfully sent!</p><br /><a href="showarticle.php?cid=5&id=3">Povratak</a>');
                }
                else
                {
echo('<p>Message delivery failed...</p><br /><a href="showarticle.php?cid=5&id=3">Povratak</a>');
                }

Im receiving mail as you see using yahoo.com. It all works except it doesn't show croatian letters... I also tried with encoding utf-8, same thing...
ČĆŽŠĐ

Please help, thank you very much!

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to