title: Reading pdf using pyPDF2 with polish characters
body: <p>I'm trying to use <code>PyPDF2</code> library for reading a pdf file which consists of polish characters (for example ń, ś, etc), but after using <code>extractText()</code> function, the output string lacks of polish chars. Is there any way to still use PyPDF2 library but firstly properly encode, decode pdf file?
  I was trying to open file with encoding='utf-8' and 'latin-1', but with no success. Thanks for any help!</p>
  
  <p>Code snippet:</p>
  
  <pre><code>file = open(myPDFfile, "rb")
  pdfreader = PyPDF2.PdfFileReader(file, strict=True)
  page_obj = pdfreader.getPage(0)
  page_txt = page_obj.extractText()
  page_txt_split = page_txt.split()
  </code></pre>