I have written a simple drupal mail function, where email subject and body includes Japanese characters. Email is being sent with Japanese text in body, but subject is missing if subject has Japanese characters. If I mix English and Japanese characters in subject line then only English characters in subject text is going as subject. But this issue I ma not facing with body content. Can any one able to help me out, to resolve this please? Thanks in advance. Here is my code as below.
function test_simple_mail($key, &$message, $params){ switch ($key) { case 'send_simple': $message['subject'] .= "Testing subject さんを現在のプロジェクトから削除しました。"; $message['headers']['Content-Type'] = 'text/html; charset=UTF-8; format=flowed'; $message['body'][]= "さんを現在のプロジェクトから削除しました。"; break; } }```