title: PoDoFo polish characters & PdfContentsTokenizer error
body: <p><strong>1.</strong></p>
  
  <p>How to get polish characters <strong>from</strong> pdf file? Can I somehow tell </p>
  
  <pre><code>PdfVariant::getString()
  </code></pre>
  
  <p>it will process polish characters?
  Becouse I get  <code>\200</code>instead of <code>ł</code> for example and the funny thing is thats only when <code>ł</code> occures as first "nonbase" character. So if the pdf file begins with <code>aaaałęąaaaa</code>, the <code>ł</code> is coded like <code>\200</code>, the <code>ę</code> like <code>\201</code> and <code>ą</code> like <code>\202</code>  <strong>but</strong>  if pdf file begins with <code>aaaaąęłaaaa</code>, the <code>ł</code> is coded like <code>\202</code>, the <code>ę</code> like <code>\201</code> and <code>ą</code> like <code>\200</code>
  How can i get this characters in any system?</p>
  
  <p><strong>2.</strong></p>
  
  <p>When i'm trying to extract text from pdf file, I do something like this:</p>
  
  <pre><code>string input_name = "example.pdf";
  PdfMemDocument pdf(input_name.c_str());
      for (int pn = 0; pn &lt; pdf.GetPageCount(); ++pn) {
          PdfPage* page = pdf.GetPage(pn); 
          PdfContentsTokenizer tok(page);
          const char* token = nullptr;
          PdfVariant var;
          EPdfContentsType type;
          while (tok.ReadNext(type, token, var)) {
             //etc.
  </code></pre>
  
  <p>But I got problem with <code>PdfContentsTokenizer tok(page);</code> It doesn't work properly. For some pdf files it goes smoothly and for the other it throws <code>Access violation reading location</code> error in <code>inffas32.asm</code> file, <code>669</code> line:</p>
  
  <pre><code>L_get_length_code_mmx:
  pand mm4,mm0
  movd eax,mm4
  movq mm4,mm3
  mov  eax, [ebx+eax*4]//this is the error line
  </code></pre>
  
  <p>Btw, I noticed not every pdf file is coded in the same way. For example, using podofobrowser I couldn't see <code>Hello World!</code> text from the official podofo helloworld example. And for the others pdf files podofobrowser showed text in different ways or didn't show it at all.</p>