title: pyPdf: illegal UTF-16 surrogate
body: <p>I have a pdf file that breaks pyPdf: <a href="http://tovotu.de/tests/test.pdf" rel="nofollow">http://tovotu.de/tests/test.pdf</a></p>
  
  <p>This is the sample script:</p>
  
  <pre><code>from pyPdf import PdfFileWriter, PdfFileReader
  
  outputPdf = PdfFileWriter()
  
  inpdf = open("test.pdf","rb")
  inputPdf = PdfFileReader(inpdf)
  [outputPdf.addPage(x) for x in inputPdf.pages]
  
  with open("output.pdf","wb") as outpdf:
      outputPdf.write(outpdf)
  </code></pre>
  
  <p>Error output is here: <a href="http://pastebin.com/0m38zhjQ" rel="nofollow">http://pastebin.com/0m38zhjQ</a></p>
  
  <p>The error is the same when using PyPDF2 from GitHub. pdftk can handle this pdf just like any other pdf out there. Please note, that writing fails, but reading seems to work just fine!</p>
  
  <p>Can you at least point me to the exact part of the pdf that causes that error? A workaround would be even nicer :)</p>