well I settled textarea and I'm using simple post with mysql_query and INSERT INTO. Plus I settled default_charset = “iso-8859-1” in php.ini but when I save to database and I look inside the database with phpmyadmin I see the text lost those characters like
When you post data to the server maybe you should send custom headers with iso-8859-1 encoding. See in jQuery docs how to do that – hint you can use beforeSend parameter in the ajax call.
Regards
Tony
P.S. Using CDATA is good idea, but do not forget to use the header function in PHP before sending the data to the grid.
I mean when you write something, then go in a new line, then write something again…then in the front it should appear as like I wrote but it shows as like it is in the same line…
So I am asking if maybe ISO-8859-1 doesn't support new-line-characters (like that \n in C++'s printf)?…