asp123
11-29-2003, 03:35 AM
Hi all,
I would like to know how to solve a mail problem. It is the message having the chinese characters (GB2312). Some of these characters cannot be displayed well. :(
I have already set
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
in the input page. And I have set the mail header is
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=GB2312\r\n";
It is found that some chinese characters cannot be displayed well formed through the mail function. But, all chinese characters is shown if I used PHP to print (echo $message;) it on the webpage.:confused: :confused:
I would like to know how to solve a mail problem. It is the message having the chinese characters (GB2312). Some of these characters cannot be displayed well. :(
I have already set
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
in the input page. And I have set the mail header is
$headers = "MIME-Version: 1.0\r\n";
$headers .= "Content-type: text/html; charset=GB2312\r\n";
It is found that some chinese characters cannot be displayed well formed through the mail function. But, all chinese characters is shown if I used PHP to print (echo $message;) it on the webpage.:confused: :confused: