I want to populate utf-8 data which coming in the form of json from server to UI page.
I can see that "jsonStr" has utf-8 data. I have verified in debug mode in Eclipse.
But when I see json variable value it is showing as "????".
This is the code snippet which I used
<script language="JavaScript" charset="utf-8">
var json = <%=jsonStr%>
</script>
Could anybody help me in this issue?
Even jQuery code snippets also fine
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>