Use WordPress plugin when the Chinese garbled solution

Source: Internet
Author: User

Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall

The advantage of using WordPress to build a website is that you can use n multiple themes and n many plug-ins, because of the use of WordPress in foreign countries for a long time, many plug-ins are foreign users developed. Support for Chinese is not very good. Often use WP will encounter plug-in coding problems, today's shadow to tell us about the use of WordPress plugin when the Chinese garbled solution.

I. Causes:

Today encountered a plug-in, the input of Chinese, save, view, show the input of Chinese places all into a question mark, note (before also encountered similar things, did not solve.) Search the Internet for a long time did not find a solution.

Ii. settlement:

I just follow my own thinking to clean up, to check the reasons.

1. The first is the data stored in the process, there is no code reset, view the source, did not find the relevant codes,

2. Then two ideas are the database storage coding problem.

Enter the data management phpMyAdmin management, view the database, see the field coding is a non-contact. Then I try to modify it to support the Chinese editor, look at the effect.

As shown in

  

The above utf8_general_ci is I modified, the following latin1_swedish_ci is the plug-in installation automatically create generated, after trying to find this problem, through manual modification, the plugin did not appear garbled again, problem solving.

Iii. Summary:

Use WordPress plugin when the Chinese garbled, (especially some foreign users to develop Plug-ins, after all, many plug-ins are not supported in Chinese.) To see if the page encoding supports Chinese, and then the database field code supports Chinese, it's easy to find out why and make corrections.

This article by the shadow original, the original link: http://www.menglei.info/1093/reproduced please retain the source, thank you for your cooperation.

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.