My code fetches a list of countries, depending on the user settings the
stored procedure returns the correct translations.
The problem is that for Japanese and Chinese, the text is not displayed
in the language, but as weird characters like uW
This is my code:
function getDivision(parentParam){
var dsN =
MyBusiness._default.getDivision(parentParam,languagecode).value;
if(dsN != null && typeof(dsN) == "object" && dsN.Tables != null){
var sN = new Array();
for(var i=0; i<dsN.Tables[0].Rows.length; i++){
sN[sN.length] = " <input type=radio lang=ja
name=division value=" +
dsN.Tables[0].Rows[i].division + "
onclick=this.selected;updateGblVar('div_nbr',this.value,'" +
escapeSpecial(dsN.Tables[0].Rows[i].divisiondesc) + "');getCountries("
+ dsN.Tables[0].Rows[i].division + ",'" + languagecode +
"');getMetrics('" + languagecode + "',this.value);>" +
dsN.Tables[0].Rows[i].divisiondesc;
}
td_division.innerHTML=sN.join("");
}
else {
alert(ERR + ". [getDivision] ");
}
}
Any ideas on why the text is not displayed correctly ...all other text
strings that are not using AJAX are displayed correctly.
Thanks,
S.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Ajax.NET Professional" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/ajaxpro
The latest downloads of Ajax.NET Professional can be found at
http://www.ajaxpro.info/
Don't forget to read my blog at http://weblogs.asp.net/mschwarz/
-~----------~----~----~----~------~----~------~--~---