title: Removing non-printable character
body: <p>Okay, so I've been bashing my head against the table over this one.</p>
  
  <p>I am importing an XML file that was exported by Indesign. This parses it and creates a file based on the input. (I'm building a JS application with Node)</p>
  
  <p>This file looks good in my PHPStorm IDE. But when I open it in gedit, i see some unwanted newlines here and there.</p>
  
  <p>I've managed to track it down to this character: <code>-&gt; &lt;-</code> (it really is there - copy it somewhere and move your cursor using the arrow keys over it. Its stuck in the middle).</p>
  
  <p>This character viewed by a hex editor reveals it to be <code>0x80 0xE2 0xA9</code></p>
  
  <p>When I tried to replace it using a simple javascript replace;</p>
  
  <p><code>data = data.replace(' ', ''); //There IS a character in the left one. Trust me.</code></p>
  
  <p>I got the following parse error;</p>
  
  <p><a href="https://i.stack.imgur.com/nL165.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/nL165.png" alt="enter image description here"></a></p>
  
  <p>In vim it shows the following character at that place; <code>~@�</code></p>
  
  <p>How am I going to remove that from my output? Escaping the character in the JS code caused it to compile just fine, but then the weird character is still there. I'm out of ideas.</p>