Okey i fixed it somehow,
talking about the edit.php file for example
I started removing completely the line
$description_prepare = str_replace(array("\r\n", "\n", "\r"), ' ', $FORM['description']);
then i removed $DB->escape() function when data is parsed from the FORM to $TMPL['category'] var...