post - AJAX/JQUERY strange behaviour for special chars -


hello i'm developing simple application user can change content in database clicking "edit , save" without page refreshes. done jquery, ajax post , ckeditor (the textarea content retrieved)

if write in ckeditor textarea "hello test!"

<p>hello  text</p> 

and works fine. if write "hello cool test, isn't it?" get:

<p> hello cool test, isn&#39;t it?</p>  

as should be. sent via post/jquery/ajax (verified via firebug) strangely in php script receivices string if echo value passed get

<p> hello cool test, isn 

how possible? thank you

edit solution found: had add encodeuricomponent(content) in ajax sent data

how putting data , posting it? need use encodeuricomponent, jquery should doing you.


Comments

Popular posts from this blog

Add email recipient to all new Trac tickets -

400 Bad Request on Apache/PHP AddHandler wrapper -

php - Change action and image src url's with jQuery -