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