title: how to use accented characters in jquery?
body: <p>I have two problems that probably have the same root cause and the same solution:</p>
  
  <hr>
  
  <p>If I execute this code:</p>
  
  <pre><code>$("i").replaceInText("text1", "étrange");
  </code></pre>
  
  <p>I get <strong>�trange</strong> instead of <strong>étrange</strong>.</p>
  
  <hr>
  
  <p>If I execute this code</p>
  
  <pre><code>$("i").replaceInText("étrange", "text1");
  </code></pre>
  
  <p>it does not find the <strong>étrange</strong></p>
  
  <hr>
  
  <p>What am I doing wrong?</p>