Hi there,
I am using FCKEditor in an AJAX Project. When I call an external save function (not the one which is called from the toolbar), the updated HTML should be saved via an AJAX request from Mootools.
This seems to be quite ok but whenever I type in more than one paragraph into the editor and save it, the MySQL database only contains the first paragraph.
Also, when I enter special characters (umlauts etc.), the GetHTML() method only returns the HTML code UNTIL the special character and nothing else!
(the code returned from the GetHTML / GetXHTML(true) method would look like that:
but the editor source code view shows
)
Could someone please help me? It is a bit urgent because my project has to be finished very soon.
Thanks very much in advance!
Daniel
PS: I have already tried to change the character set to utf-8 or so but that doesn't help.
I am using FCKEditor in an AJAX Project. When I call an external save function (not the one which is called from the toolbar), the updated HTML should be saved via an AJAX request from Mootools.
This seems to be quite ok but whenever I type in more than one paragraph into the editor and save it, the MySQL database only contains the first paragraph.
Also, when I enter special characters (umlauts etc.), the GetHTML() method only returns the HTML code UNTIL the special character and nothing else!
(the code returned from the GetHTML / GetXHTML(true) method would look like that:
<p>Test Text
but the editor source code view shows
<p>Test Text ä</p>
)
Could someone please help me? It is a bit urgent because my project has to be finished very soon.
Thanks very much in advance!
Daniel
PS: I have already tried to change the character set to utf-8 or so but that doesn't help.
Re: Umlauts and other special characters problem
Check with an alert the output of GetXHTML
Re: Umlauts and other special characters problem
Well, I should go over the MySQL UPDATE stuff again (and over the AJAX post request because that is probably because of that URLs don't support special characters).
Thanks very much!