Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Sep 2010
    Posts
    122
    Thanks
    6
    Thanked 0 Times in 0 Posts

    chinese characters not dispaly in the email body

    hi i have code like this

    $from="$nickname@firefoxbd.com";

    $eol = PHP_EOL;
    $headers = "From: ".$from.$eol;
    $headers .= "MIME-Version: 1.0" . "\r\n";

    $headers .= "Content-type:text/html;charset=utf-8" . "\r\n";
    $header .= "Content-Transfer-Encoding: 8bit\n";


    mail($email, "Amendement No-$Internal", "<h2>Amendement for Spec-$specno-$revise</h2> <br> $Info", $headers);


    please help me to solve this problem

    i need to display chinese charaters correctly in the email body

  • #2
    New Coder
    Join Date
    Aug 2013
    Posts
    10
    Thanks
    0
    Thanked 1 Time in 1 Post
    Hi,

    Try using a different charset other than UTF-8.
    Check out this list: http://a4esl.org/c/charset.html

    ~ Jeffrey


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •