PHP : Function Reference : Multibyte String Functions : mb_language
sohel taslim
It can help you to send an email as with Japanese contain.
<?php
mb_language("ja");
$subject = mb_convert_encoding($subject, "ISO-2022-JP","AUTO");
$subject = mb_encode_mimeheader($subject);
$result = mail($to, $subject, $body, $headers, $sendmail_params);
?>
anders jenbo pc dk
Default this seams to be set to 'neutral'.
|