Why are Chinese characters transcoded on a web page?

as above, the two words integral have been transcoded, which should have been"+ 5 integral"

.
 function anp(e)
  {
    var points="5 ";
    var $i=$("<b>").text("+"+points);
    var x=e.pageX,y=e.pageY;
    $i.css({top:y+50,left:x,position:"absolute",color:"-sharp12c4c5"});
    $("body").append($i);
    $i.animate({top:y-180,opacity:0,"font-size":"10px"},3000,function(){
      $i.remove();
    });
    e.stopPropagation();
 }

 
Dec.23,2021

set the encoding of html to utf-8


var $i=$("<b>").text("+"+points);
Change this sentence to:

var $i=$("<b>").html("+"+points);

try


$(" ") close

there is also a problem with page coding, or if you have any problems with page coding in php
check out the vulnerabilities in the code posted by
, that is, some browsers may have problems with unclosed
.
  <meta charset="UTF-8">
Menu