Dede woven Dream CMS Guestbook Module Chinese cannot save the problem

Source: Internet
Author: User

For personal hobbies, has been studying PHP, by the way to help friends solve the problem of Web site contact with the weaving dream CMS, for the Guest book module, the emergence of Chinese can not be saved, but also do not error problems.

The first thought is definitely the character set encoding problem, but not very understanding of weaving dream, one by one to troubleshoot the output variable problem, found the problem of the code.


File directory: include/helpers/filter.helper.php, modify the following code

650) this.width=650; "src=" Http://s5.51cto.com/wyfs02/M00/7F/09/wKiom1cQgHGDdpRmAAA1o-39BkU522.png "title=" Code.png "alt=" Wkiom1cqghgddprmaaa1o-39bku522.png "/>

The Htmlspecialchars function called in the file, there is no back two parameters, plus after the message book save the file is all normal.

Of course, the third parameter, see what your site's current character set encoding is, and modify it as needed.

This article is from the "Designer" blog, so be sure to keep this source http://leo1986.blog.51cto.com/4303348/1764139

Dede woven Dream CMS Guestbook Module Chinese cannot save the problem

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.