I have a file notfound.php
which returns a list of available keywords in English and Thai.
It contains
meta http-equiv='Content-Type content='text/html; charset=tis-620'".
Thai Language displays properly if I request the page using any of the browsers I have, where outputs Thai wrongly when calling the same file using JavaScript.
document.getElementById("area").innerHTML=xmlhttp.responseText;
xmlhttp.open("GET","notfound.php?&mat=" + Math.random(),true);
xmlhttp.send();
This fragment is from a file also containing
meta http-equiv='Content-Type' content='text/html; charset=tis-620
'.
The text returned to "area" displays correctly only in Chrome.