I have a textarea, and am using $('#mytextarea').val(), and when i have text that is '£' i am getting the infamous black diamond with a question mark in it. �, When i package this up as a JSON packet it then gets sent to the server and it interprets it like this: "£" on the server side.
I am sending it to the server with this code:
jQuery.ajax({
url: "aurl",
contentType: "application/json; charset=utf-8",
dataType: "json",
async : true,
cache : false,
type: "POST",
processData : false,
data: JSON.stringify(parameterMap)
});
I don't really understand why its just the £ symbol that is causing me issues, is it character encoding? is it server or client side?
Any ideas?