title: How to fix an UTF-8 double encoded XML file
body: <p>I have a XML file when seem to consist double encoded UTF-8 Character. For Example the “Gesch....ft” part in then hex dump should be Geschäft:</p>
  
  <pre><code>00009f0: 4365 6c6c 3e3c 4861 7368 4365 6c6c 3e3c  Cell&gt;&lt;HashCell&gt;&lt;
  0000a00: 5374 7220 7661 6c75 653d 2253 746f 7265  Str value="Store
  0000a10: 735f 4d65 6e75 222f 3e3c 5374 7220 7661  s_Menu"/&gt;&lt;Str va
  0000a20: 6c75 653d 2247 6573 6368 c383 c2a4 6674  lue="Gesch....ft
  0000a30: 6522 2f3e 3c2f 4861 7368 4365 6c6c 3e3c  e"/&gt;&lt;/HashCell&gt;&lt;
  0000a40: 4861 7368 4365 6c6c 3e3c 5374 7220 7661  HashCell&gt;&lt;Str va
  </code></pre>
  
  <p>I found a quite a few ways to fix UTF-8 double encoded databases, filenames or data streams. However I found nothing on fixing a plain text or XML file.</p>