Environment: Chinese w2k+apache+php4.06 (SMTP on Linux) when I use the Mail function to send a letter, I found that if my subject is Chinese, then the received mail will display Chinese as "XXXX" call process as follows: "; $msg. = "Member Name: Wayne
"; $msg. = "Password: Wayne"; $headers = "from:webmaster@263.netcontent-type:text/html; charset=gb2312 "; Mail ("$to", "$subject", "$msg", "$headers");?> program calls, using outlook6.0, found "mall" is displayed as "XXXX", and MSG in Chinese can be displayed correctly, according to experience, Know to encode the subject. After clear direction, I started looking for PHP coding functions.
http://www.bkjia.com/PHPjc/531852.html www.bkjia.com true http://www.bkjia.com/PHPjc/531852.html techarticle Environment: Chinese w2k+apache+php4.06 (SMTP on Linux) when I use the Mail function to send a letter, I found that if my subject is Chinese, then the received mail will display Chinese as the XXXX call process ...