I have a jqgrid where I can upload data in English/ French / Russian. When I am uploading Russian characters, it is displayed as like some invalid symbols. Something like �?�?�? �?
I have changed the encoding of jsp page as <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Is there anything specific to be changed in jq configuration ? Please help. Following is my Jquery implementation
jQuery('#studentLst')
.jqGrid(
{
url : endpoint,
datatype : 'json',
rownumbers : true,
height : 250,
colNames : [ 'StudentID', 'Name', 'Marks','Description' ],
colModel : [ {
name : 'sId',
index : 'sId',
hidden : true
}, {
name : 'name',
index : 'name',
}, {
name : 'marks',
index : 'marks',
width : 200
},{
name : 'description',
index : 'description',
width : 190,
sortable : false
}],
multiselect : false,
rowNum : 10,
rowList : [ 10, 20, 40, 60, 80, 100 ],
viewrecords : true,
autowidth : true,
caption : 'Student List',
onSelectRow : function(ids) {
//Load sub grids
},
gridComplete : function() {
//Implementation
},
loadComplete : function(response) {
},
onPaging : function(pgButton) {
$("#studentLst").setGridParam({
datatype : 'json'
});
},
pager : "#studentLstPg"
});
jQuery('#studentLst').navGrid('#studentLstPg', {
search : false,
addfunc : function() {
//add student
},
addtitle : 'Add Student',
editfunc : function() {
//update student info implementation
},
edittitle : 'Edit Student',
delfunc : function() {
// Show confirmation box and delete the student
},
deltitle : "Delete Student"
});
var grid = jQuery("#studentLst");
};