If all page encodings are gb2312, and is also output in the document.write input in JS, garbled characters will occur. The reason is: browser analysis found that the default encoding of JS is still UTF-8, and finally found Solution:
Solution 1: At this time, change the other party's JS so that only the content in the body is output through document.write, and other