AJAX call broken after actualization

OK, I found out that my DB encoding was LATIN2 and wordpress forced UTF-8 in all calls after the update.

When I changed my database’s encoding to UTF-8 it all started to work. I also used:

$comment = mb_convert_encoding($comment, "UTF-8");

just to be shure.