title: Unknown symbols displayed in czech words in javascript application
body: <p>I have an unknown symbols displayed in my javascript application for try catch construction using czech language even when I use coding windows-1250. These symbols is displayed like question marks in diamond.</p>
  
  <p>html</p>
  
  <pre><code>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"&gt;
  &lt;html&gt;
  &lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=windows-1250"/&gt;
  &lt;title&gt;Konstrukce Try/Catch&lt;/title&gt;
  &lt;script type="text/javascript" src="number.js"&gt;&lt;/script&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;form name="formular" id="formular" action="#"&gt;
  &lt;div id="cisloDiv"&gt;Zadejte číslo v rozsahu 1 až 100: &lt;input id="cislo" name="cislo"&gt; &lt;span id="informace"&gt; &lt;/span&gt;&lt;/div&gt;
  &lt;div&gt;&lt;input id="odeslatFormular" type="submit"&gt;&lt;/div&gt;
  &lt;/form&gt;
  &lt;script type="text/javascript"&gt;
  
  function inicializuj() {
      document.forms[0].onsubmit = function() { return zkontrolujFormular(this) };
  }
  window.onload = inicializuj;
  &lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>javascript</p>
  
  <pre><code>function zkontrolujFormular() {
      try {
          var cislo = document.forms[0]["cislo"];
          if (isNaN(cislo.value)) {
              var chyba = new Array("Nejedná se o číslo",cislo);
              throw chyba;
          }
          else if (cislo.value &gt; 100) {
              var chyba = new Array("Zadané číslo je větší jak 100",cislo);
              throw chyba;
          }
          else if (cislo.value &lt; 1) {
              var chyba = new Array("Zadané číslo je menší jak 1",cislo);
              throw chyba;
          }
          return true;
      }
      catch(objektVyjimky) {
          var informace = document.getElementById("informace");
          var textChyby = document.createTextNode(objektVyjimky[0]);
          var novySpan = document.createElement("span");
          novySpan.appendChild(textChyby);
          novySpan.style.color = "#FF0000";
          novySpan.style.fontWeight = "bold";
          novySpan.setAttribute("id","informace");
          var rodic = informace.parentNode;
          rodic.replaceChild(novySpan,informace);
          objektVyjimky[1].style.background = "#FF0000";
          return false;
      }
  }
  </code></pre>