I have a problem with greek characters at a ajax aplication.
The code is
Code:
<script type="text/javascript">

function ajaxFunction(alert)
  {
  var xmlHttp;
  try
    {
    // Firefox, Opera 8.0+, Safari
    xmlHttp=new XMLHttpRequest();
    }
  catch (e)
    {
    // Internet Explorer
    try
      {
      xmlHttp=new ActiveXObject("Msxml2.XMLHTTP");
      }
    catch (e)
      {
      try
        {
        xmlHttp=new ActiveXObject("Microsoft.XMLHTTP");
        }
      catch (e)
        {
        alert("Your browser does not support AJAX!");
        return false;
        }
      }
    }
    xmlHttp.onreadystatechange=function()
      {
      if(xmlHttp.readyState==4)
        {
       document.getElementById('3').innerHTML=xmlHttp.responseText;
        }
      }
    xmlHttp.open("GET","time.asp?mess="+alert,true);
      xmlHttp.setRequestHeader("Content-type", "application/x-www-form-urlencoded");

  xmlHttp.setRequestHeader('Content-Type','text/html;charset=iso-8859-7');
    xmlHttp.setRequestHeader('Content-Language','el');
    xmlHttp.setRequestHeader("Cache-Control","no-cache, must-revalidate");
    xmlHttp.send(null);
  }
</script>
The problem is that at the page that I call are greek words as "Θέμα".
If I let it, as is at my page is ???, but if I write at code the html encodes (& Theta ; etc) is is ok.
Is a way solve that problem?
When I run the page as standalone at IE is ok
Dimis