Use php encoding-Issue 1. Environment: Chinese w2k + apache + php4.06 (smtp on linux) I found when using the mail function to send a mail, if my subject is Chinese, then the received mail will display Chinese as the XXXX call process environment: Chinese w2k + apache + php4.06 (smtp on linux) I found when using the mail function to send a mail, if my subject is in Chinese, the received mail will display Chinese as "XXXX". The Call process is as follows: "; $ Msg. =" member name: wayne
"; $ Msg. = "Password: wayne"; $ headers = "From: webmaster@263.netContent-Type: text/html; charset = gb2312"; mail ("$ to", "$ subject ", "$ msg", "$ headers");?> After the program is called, use outlook6.0 to receive the mail and find that "mall" is displayed as "XXXX", while the Chinese in msg can be correctly displayed. based on experience, you know to encode the subject. After clarifying the direction, I began to look for php encoding functions.
When using the mail function to send mail (smtp on linux), I found that if my subject is Chinese, then the received mail will display Chinese as XXXX call process...