The advantage of using wordpress to build a website is that you can use N-plus themes and N-plus Plug-ins. Many plug-ins are developed by users outside China due to the long term of use of wordpress abroad. Chinese support is not very good. We often encounter plug-in encoding problems when using WP. Today, the shadow will tell you how to solve Chinese garbled characters when using wordpress plug-ins.
I. cause:
Today, I met a plug-in. After Entering Chinese characters, I saved it and checked it. It shows that all Chinese characters have been entered as question marks and remarks (similar things have been encountered before and cannot be solved .) I have not found a solution on the Internet for a long time.
Ii. solution:
I will sort it out based on my own ideas and troubleshoot the reasons.
1. In the data storage process, is there any code reset, check the source code, and no relevant code found,
2. Then the two ideas are about database storage encoding.
Go to data management phpmyadmin management and check the database. We can see that the field encoding is untouched. Then I try to modify it to support Chinese editing and check the effect.
VcmRwcmVzc7LlvP7KsbP2z9bW0M7EwtLC67XEveK + 9re9t6g = "height =" 106 "src =" http://www.bkjia.com/uploads/allimg/131122/0123564927-0.png "width =" 476 "/>
The above utf8_general_ci was modified by me. The latin1_swedish_ci below is automatically created and generated during plug-in installation. After trying to find this problem, after manual modification, the plug-in is not garbled again and the problem is solved.
Iii. Summary:
Chinese characters are garbled when wordpress plug-ins are used (especially plug-ins developed by some foreign users. After all, many plug-ins do not support Chinese characters. Check whether the webpage encoding supports Chinese and whether the database Field encoding supports Chinese. After troubleshooting, we can easily find out the cause and make corrections.
This article by the original shadow, original link: http://www.menglei.info/1093/ reprint Please retain the source, thank you for your cooperation.