Forum closed. New forum available at http://community.wymeditor.org/

no cleaning needed: is it possible?

Support forum for WYMeditor.

no cleaning needed: is it possible?

Postby paperogiallo on Fri Oct 12, 2007 8:45 am

Since I have some problem with UTF-8 encoding (my db-records are utf-8, page is served as utf-8 by the server, but after I've updated contents, I've got a lot of garbage characters in page), I'm thinking of some way to avoid cleaning by the js editor (I think the problem is here), replacing it with PHP5 tidy capabilities.

Is it possible? How to?

Thanks all in advance

_YD
paperogiallo
 
Posts: 6
Joined: Tue Oct 09, 2007 1:15 pm

Postby jfh on Mon Oct 15, 2007 11:00 am

Please use the html() function, instead of xhtml(), to get the editor's content.
User avatar
jfh
Site Admin
 
Posts: 370
Joined: Sat Sep 23, 2006 8:43 pm
Location: Belgium

Postby paperogiallo on Fri Oct 19, 2007 7:18 am

It makes sense! Stupid me! Thanks a lot.
paperogiallo
 
Posts: 6
Joined: Tue Oct 09, 2007 1:15 pm


Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest