From the above image im getting ? symbols in option in database there is a chareter present how can i resolve this issue..
I have a header like this
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
And i am looking for permanent solution this is my code:
and when print the variable it is coming like this:console.log(getContact);
function get_question_detail(q_id){
$("#all_option").html("");
var temp_ques = sessionStorage.getItem(q_id);
if (temp_ques){
var getContact = JSON.parse(temp_ques);
for (var j = 1; j <= ans_option_count; j++) {
var temp_var = "sr_no" + j;
var full_div = '<div class="answer_option"><input type="radio" name="ans_option" value="' + j + '" class="validate[required]" /> ' + getContact['option'][temp_var] + '';
$("#all_option").append(full_div);
// console.log(full_div);
}