Charset problem

Charset problem

im having a problem with the charset, when i set the page to UTF-8 the table head and foot accent marks become strange chars but if i set to ISO-8859-1 the text inside the table and on other field become this strange chars..
screenshots
UTF-8
http://img262.imageshack.us/img262/9178/utf8.jpg
ISO-8859-1
http://img705.imageshack.us/img705/4682/iso88591.jpg

I use .post to run a php page that inserts the values to a sqlite file. Im building the table using php echos and datatables. 






Does the post method sets a charset?  

anyone knows how to fix this?

thanks!