[jQuery] Foreign charachters in .post()
Hi,
Got a bit of a weird one here :/
The following code works fine:
jQuery.post("/cgi-bin/review.cgi", {
Review_Rating: the_rating,
ID: theID,
add_this_review: 1,
Review_Contents: contents,
Review_Subject: subject,
Review_ByLine: byline,
Review_GuestName: guestname,
Review_GuestEmail: guestemail,
add_review: 1,
SecurityImage: SecurityImage,
SessionID: SessionID
}, function(response){
jQuery('#ajax_rate_indicator').fadeOut();
setTimeout("finishAjaxReview('the_rating_box', '"+escape
(response)+"')", 400);
});
...*appart* from the fact stuff like:
ö =
ä =
ü =
..gets converted to:
ö =
ä =
ü =
I did a little bit of research, and found something about adding this
(but this seems to really be for a different jQuery function - which
is probably why its not working);
contentType: "application/x-www-form-
urlencoded;charset=ISO-8859-15",
Can anyone suggest how I could fix this issue with foreign
charachters?
TIA
Andy
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home