Baidu snapshot garbled problem my website www.monect.net, phpwind is used, but the website is garbled after Baidu indexing, but the personal center is normal, I use UTF-8 encoding, if gbk encoding is specified when a simulated search engine spider is used, the result is indeed garbled, but it becomes normal when UTF-8 is specified, therefore, I suspect that Baidu Spider thinks that my website uses garbled data from the Baidu snapshots of gbk encoding.
My website www.monect.net, phpwind is used, but the website is indexed by Baidu but it is garbled, but the personal center is normal, I use UTF-8 code, if gbk encoding is specified when a simulated search engine spider is used, the result is indeed garbled, but it becomes normal when UTF-8 is specified, so I suspect that Baidu Spider thinks that my website uses gbk encoding, but I don't know how Baidu Spider judges the website encoding format. I hope anyone who knows can answer this question, thank you!
------ Solution --------------------
Baidu problems ..
------ Solution --------------------
You have
Of course, it should be explained in UTF-8 format.
If yes
All your content must be gbk; otherwise, it must be "garbled"
------ Solution --------------------
Discussion
The problem is that my website does have charset = "UTF-8 ".
------ Solution --------------------
Three points for garbled characters,
First, the source of the database, read whether it is UTF-8
The second is whether the webpage format is utf-8. you can use DW to view page properties or modify EditPlus.
Three browser encoding, that is, charset; three must be unified
If unified, it must be that Baidu's problem has nothing to do with you.
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