cloudy
07-11-2008, 09:27 AM
hi there..i hsve some problem about the Ajax + chinese characters...
i m using the ajax script to pass the form value through a URL to a asp files to execute the update sql. i have pass a chinese characters "日出" through the ajax , such as below..
url= url + "&formvalue=" +formvalue;
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
xmlHttp.onreadystatechange=stateChanged;
but when i save it in the databse, it save the "日出" to "??" and when i display out it also show "??" since in the DB the record is saved as "??"
anyone can give me a hand? i m very confuse for tis problem.
plz give me a hand. thank you
i m using the ajax script to pass the form value through a URL to a asp files to execute the update sql. i have pass a chinese characters "日出" through the ajax , such as below..
url= url + "&formvalue=" +formvalue;
xmlHttp.open("GET",url,true);
xmlHttp.send(null);
xmlHttp.onreadystatechange=stateChanged;
but when i save it in the databse, it save the "日出" to "??" and when i display out it also show "??" since in the DB the record is saved as "??"
anyone can give me a hand? i m very confuse for tis problem.
plz give me a hand. thank you