Strange characters in PHP mail()

the mail() function

Moderators: egami, macek, gesf

Post Reply
New php-forum User
New php-forum User
Posts: 215
Joined: Wed Dec 07, 2011 5:25 pm

Thu Jan 19, 2012 1:48 pm

Hello Iver.
If i understand correctly it is UTF8 characters Yeah?

Then i think solution to specify additional headers properly:
In ex:

Code: Select all

$header= 'MIME-Version: 1.0' . "\r\n" . 'Content-type: text/plain; charset=UTF-8' . PHP_EOL; 
$header.='Reply to: etc etc more stuff goes here' .PHP_EOL;

After all this I think it should handle correctly that characters.

Post Reply