title: Find and replace non utf8 character
body: <p>I have a process that inserts data into PDFs that eventually loads into a system that gets searched based on that inserted data. The inserted data looks something like:</p>
  <pre><code>&lt;&lt;
  /IBM-ODIndexes
  &lt;&lt; /Private
  &lt;&lt;
    /DOB (05031983)
    /FULL_NAME (TEST USER)
    /YEAR (2020)
  &gt;&gt;
  /LastModified(D:20210112201530)
  &gt;&gt;
  </code></pre>
  <p>However, there are instances where the data in the <code>FULL_NAME</code> field contains non UTF8 characters and then users are unable to search the data. Specifically apostrophes come over from Microsoft Word and then gets interpreted like this:</p>
  <p><code>/FULL_NAME (JERRY OÃ&lt;83&gt;Â¢Ã¢â&lt;80&gt;&lt;9a&gt;Â¬Ã¢â&lt;80&gt;&lt;9e&gt;Â¢CONNELL)</code></p>
  <p>In this case I am looking to strip out the apostrophe that is represented as <code>Ã&lt;83&gt;Â¢Ã¢â&lt;80&gt;&lt;9a&gt;Â¬Ã¢â&lt;80&gt;&lt;9e&gt;Â¢</code> and replace it with a white space.</p>