title: How to replace â€? generated from right double quote in a String?
body: <p>I have <code>“excused”</code> in a text file. I used java's <code>BufferReader.readLine()</code> to read it into a String s, s became <code>â€œexcusedâ€?</code>.</p>
  
  <p>I used <code>s = s.replace("â€œ","&amp;ldquo");</code> and it did the replacement.</p>
  
  <p>However <code>s = s.replace("â€?","&amp;rdquo");</code> did not make the replacement.</p>
  
  <p>I tested the following lines in my main method:</p>
  
  <pre><code>String t = "â€? test";
  System.out.println(t);
  t = t. replace("â€?","&amp;rdquo");
  System.out.println(t);
  </code></pre>
  
  <p>which did turn t into <code>&amp;rdquo test</code>, why did <code>replace()</code> not work for the string read in from the text file? Thanks,</p>