TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Massimiliano
NA
3
2.4k
Pass a chinese string from ajax to C# Server
Feb 9 2012 9:02 AM
hi everyone. I am attempting to send a string in chinese characters via ajax in jquery.
var idStud = $("#idStud").val();
var descr = $("#test").val();
$.ajax({
contentType: "application/text; charset=utf-8",
url: "ajaxStud.aspx?op=insert&idStu
d=" + idStud + "&descr=" + descr,
success: function(data) {
}
});
If I alert the string out before the ajax call i.e. alert(descr), I see the characters correctly.
When i retrieve in ajaxStud.aspx.cs the Request.Querystring["descr"] the string does not show the proper chinese characters but only "????????"
What is causing this problem and how can I resolve it? Many thanks!
Reply
Answers (
1
)
CascadingDropDown control
How to set image for ResizableControlExtender control