Entity character decoding garbled!

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.