Completely solve the refer encoding problem

Source: Internet
Author: User
You only need to add the following code to your webpage to track who is connected to your webpage: reverse tracking of this webpage is more suitable for storing it in the main webpage of the blog. Please use the following code for UTF-8 encoding: GB Chinese character encoding, blogcnblogbus user, please use the following code: A rough solution to the UTF-8 with GB2312 SyntaxHighlight as long as the following code is added to your web page, you can track who is connected to your web page:
Reverse tracking of this webpage is more suitable for storing it in the main webpage of the blog.

Use the following code for UTF-8 encoding:

For users of blogcn blogbus, use the following code:

Very roughly solved the conversion between UTF-8 and GB2312, have any opinions, suggestions are put forward together, wait for me to be free of time to modify.

I added three sentences:

$ Dtittmp = $ dtit;
$ Dtit = $ converter-> convert ($ dtit );
Unless ($ dtit) {$ dtit = $ dtittmp ;}

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.