title: Text from pdf non-english characters
body: <p>I'm trying to use pdf2text library from here:</p>
  
  <p><a href="http://webcheatsheet.com/php/reading_clean_text_from_pdf.php" rel="nofollow">http://webcheatsheet.com/php/reading_clean_text_from_pdf.php</a></p>
  
  <p>My pdf contains data in Czech language, and the library is having problems with some characters, ie.:</p>
  
  <p>ř is replaced by Y
  Ž is replaced by }
  Kč is replaced by K\r
  .. etc.</p>
  
  <p>But some of them are okay, like: í, ú, Ý.</p>
  
  <p>Replacing the regexp</p>
  
  <blockquote>
    <p>[0-9a-f]</p>
  </blockquote>
  
  <p>with</p>
  
  <blockquote>
    <p>[0-9\x01-\x7F]</p>
  </blockquote>
  
  <p>in the library gave me no results at all (I'm not good with regexp to be honest). Replacing string functions with mb_ ones also makes no difference </p>
  
  <p>Example data:</p>
  
  <blockquote>
    <p>Kupující: anna123 - Anna Tova; Příjemce: Anna Tova, Jezborice 123, 530 02 Pardubice; Kontaktní údaje:
    AnnT@seznam.cz, 7211111
    A1244 SVET_MODNI STYLOVÝ SVETR V.42-POUŽITÉ (5209214093)</p>
  </blockquote>
  
  <p>gives me the result of:</p>
  
  <blockquote>
    <p>Kupující: anna123 - Anna Tova; PYíjemce: Anna Tova, Jezborice 123, 530 02 Pardubice; Kontaktní údaje: AnnT@seznam.cz, 7211111 A1244 SVET_MODNI STYLOVÝ SVETR V.42-POU}ITÉ (5209214093)</p>
  </blockquote>
  
  <p>Thanks</p>