Today, download a code back from the Internet debugging, the beginning of the code error, after a turn debugging, the code finally no problem.
But IE display blank, view the source code, all output, but IE is blank, I faint.
Again to turn over, ask a colleague, the code is no problem.
Inadvertently, the file saved the last discovery, this file is UTF-8 encoded, finally found the problem.
The code defines:
But the file is encoded as UTF-8, which results in a display error.
Change the file encoding to ANSI, and then refresh the page, and the long-awaited thing finally shows up.
Summary: The charset of the header definition may cause the page output to be blank if it does not match the encoding of the file itself.
http://www.bkjia.com/PHPjc/509157.html www.bkjia.com true http://www.bkjia.com/PHPjc/509157.html techarticle today, download a code back from the Internet debugging, the beginning of the code error, after a turn debugging, the code finally no problem. But IE shows a blank piece, view the source code of the Web page, ...