Some encoding problem when using AJAX

Some encoding problem when using AJAX

When sending a request like this:

$.ajax({
    url: "url",
    type: "GET",
    date: "param=中文"
}).done();

"中文" will be urlencoded, the character-set is same as the page's.



But, when sending like this:

$.get("url", {param: "中文"}, function(){});

"中文" will be urlencoded, the character-set is "UTF-8", not using the page's character-set.



Why?