Chinese character garbled characters in php. I load & nbsp;... & nbsp; & lt; in the final part of the index. php file ;? Php & nbsp; include (& quot; bottom. php & quot;); & nbsp ;? & Gt; & nbsp; & lt; body & gt; & nbsp; & lt; html & gt; the content of the bottom. php file is related to Chinese character garbled characters in php.
I load at the end of the index. php file
....
Include ("bottom. php ");
?>
The content of the bottom. php file is as follows:
|
|
| Copyright (C) 2011-2012 XX Company Limited |
|
The Chinese characters displayed on the webpage are garbled. thank you!
------ Solution --------------------
File encoding must be consistent with browser encoding
------ Solution --------------------
Well, you didn't tell the browser what encoding to use...
------ Solution --------------------
Discussion
File encoding must be consistent with browser encoding
------ Solution --------------------
What is the encoding of your file?
------ Solution --------------------
The encoding used for saving the file must be the same as the browser encoding.
------ Solution --------------------
Discussion
The encoding used for saving the file must be the same as the browser encoding.