1. The first is the encoding of the PHP web page
1. The encoding of the PHP file itself should match the encoding of the web page
a. If you want to use gb2312 encoding, then PHP must output the header: header(" Content-Type: text/html; charset=gb2312"), add to the static page