title: Bad encoding using Camelot
body: <p>I am using Camelot to parse a document. To keep it simple, I am now debugging with the most basic command:</p>
  <pre><code>all_pages = camelot.read_pdf(str(file_path))
  for table_info in all_pages:
      df = table_info.df
      print(df)
  </code></pre>
  <p>I am applying this to two different PDFs, which look very much the same. Their metadata is identical:</p>
  <ul>
  <li>Producer: Acrobat Distiller 17.0 (Windows)</li>
  <li>Creator: PScript5.dll Version 5.2.2</li>
  <li>Format: PDF-1.3</li>
  <li>Size: A4, Portrait (210 × 297 mm)</li>
  </ul>
  <p>Only the date and size of the documents are different. They contain a table, with the same layout. It only changes slightly in size. Even the data within cells is the same! (I can't attach a PDF, but here is a jpg version):</p>
  <p><a href="https://i.stack.imgur.com/0xBaN.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0xBaN.jpg" alt="The table in question" /></a></p>
  <p>With the older PDF file things go well, and I get words, numbers, etc. But with the newer one I only get weird encoding stuff like &quot;(cid:12)(cid:13)(cid:14)&quot;.</p>
  <p>I have looked through the documentation, but I can't find anything related to this problem or to encoding in general.</p>