Solutions to Chinese garbled characters when using Wordpress plug-ins

Source: Internet
Author: User

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.

Related Article

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.