Entity character decoding garbled characters for help !!! At the end of this post, var_dump (html_entity_decode ($ content = '& amp; lt; p & amp; gt; identifier & amp; lt;/p & amp; gt; ', ENT_QUOTES) entity character decoding garbled text for help !!!
This post was last edited by var_dump (html_entity_decode ($ content ='
Bytes
', ENT_QUOTES ));
Garbled characters are generated when the server is transferred out. Simplified Chinese characters are normal. Traditional Chinese characters are incorrect.
The local test is normal. The local Windows server is linux
Help me to share with: Workshop
', ENT_QUOTES); garbled characters are generated when the server is transferred out. the simplified Chinese characters are... 'data-pics ='/img/2013/08/08/112408295 .jpg '>
------ Solution --------------------
You can display the UTF-8 Content in the gbk environment.
That's it.