jQuery get and text return replacement character. How to solve?
If I use:
$.get("url",function(data){$("#destination").text(data);})
in the .text
of #destination
the letters like èéàòùì become the replacement character.
How do I solve it? Set the charsets is useless; 开发者_运维知识库I don't want to use .replace("strange character","");
.
精彩评论