title: Read HTML special characters in Delphi string
body: <p>I have a webpage &quot;index.html&quot; built with Expression Web 4 containing a value delimited with an id :</p>
  <pre><code>&lt;html&gt;
  &lt;head&gt;&lt;/head&gt;
  &lt;body&gt;
  &lt;... some html code ...&gt;
  &lt;!--MYVALUEID--&gt;
  Dernières News
  &lt;... some html code ...&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  <p>With my delphi application i load the page in TStringList and read the value to a TEDIT :</p>
  <pre><code>S:=TStringList.Create;
  S.LoadFromFile('path\index.html');
  Edit1.Text:=S[S.IndexOf('&lt;!--MYVALUEID--&gt;')+1];
  S.Free;
  </code></pre>
  <p>The problem is the accent char because i got this in the TEDIT : &quot;DerniÃ¨res News&quot;</p>
  <p>In Expression Web code the text is correct : Dernières News</p>
  <p>When i open index.html in notepad it show : Dernières News</p>
  <p>The file in notepad is shown as UTF8</p>
  <p>When using HTTPApp.HTMLDecode() i got : DerniÃ¨res News</p>
  <p>And with System.NetEncoding,TNetEncoding.HTML.Decode also : DerniÃ¨res News</p>
  <p>Is there a reliable routine to decode html special char conversion ?</p>
  <p>I checked many question in SO and tried the solutions as mentionned above but nothing happens.</p>
  <p>Thanks in advance, i m stuck.</p>