Function data breaking charset

Function data breaking charset

Hi all,

This:


$.post("search.php", { clientID: thisChannel.tblClient_id, channelID: thisChannel.tblChannel_Id, wordsToSearch: wordsSearchedfor }, function(data){
                alert("data: " + data);
});


Passes variables to search.php and search.php returns data.
Everything right until here.

The problem:
When I pass the variables manually to the php file the information comes out great.
But when I use $.post data returns odd characters. These odd characters are the ones that a web page shows when its charset is utf-8 instead of iso-8859-1 (the one that I use, Spanish web).

I can see in Firebug's Console that the Request Headers have a Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Do you have any idea on how to change this into
Content-Type: application/x-www-form-urlencoded; charset=iso-8859-1 ? Would that fix the problem?

Thanks a ton in advance!