title: PHPmailer Japanese Character
body: <p>i'm trying to send an email with a japanese character with PHPmailer,
  This is my function :</p>
  
  <pre><code>function sendMail()
  {
    mb_language('ja');
    mb_internal_encoding('UTF-8');
  
    $mail = new PHPMailer();
  
    $mail-&gt;isSMTP();
    $mail-&gt;SMTPAuth      = true;
    $mail-&gt;Host          = EMAIL_HOST; 
    $mail-&gt;Port          = EMAIL_PORT;
    $mail-&gt;Username      = EMAIL_USERNAME;
    $mail-&gt;Password      = EMAIL_PASSWORD;
    $mail-&gt;SMTPKeepAlive = true;
    $mail-&gt;Mailer        = 'smtp';
    $mail-&gt;CharSet       = 'ISO-2022-JP';
    $mail-&gt;Encoding      = "7bit"; 
    $mail-&gt;SMTPDebug     = 0;
    $mail-&gt;From          = EMAIL_SET_FROM_EMAIL;
    $mail-&gt;FromName      = mb_encode_mimeheader(EMAIL_SET_FROM_NAME, "ISO-2022-JP-MS");
    $mail-&gt;addAddress($this-&gt;to);
  
    if (!empty($this-&gt;replyTo)) {
      $mail-&gt;addReplyTo($this-&gt;replyTo);
    }
  
    $mail-&gt;isHTML(true);
    $mail-&gt;Subject = mb_encode_mimeheader($this-&gt;subject, "ISO-2022-JP-MS");
    $mail-&gt;Body    = mb_convert_encoding($this-&gt;body, "ISO-2022-JP-MS", "UTF-8");
  
    $isSend = $mail-&gt;send();
  
    if (!$isSend) {
      throw new exception(__METHOD__ . '() ' . $mail-&gt;ErrorInfo);
    }
  }
  </code></pre>
  
  <p>In the recipient the email body which have Japanese character sometimes broken like this :</p>
  
  <p>Case 1 : エ %j%" : A</p>
  
  <p>Case 2 : My friends Japanese laptop showing several black diamond character with question mark in it. Its on Gmail,</p>
  
  <p>Case 3 : A question mark appear in some Japanese character.</p>
  
  <p>Can any body show me the correct setting for PHP mailer so it can send a Japanese-character mail without unknown character shown in the recipient ?</p>