title: Read Russian text from pdf and write in excel file
body: <p>I am reading PDF written in Russian language and parsing using PDFBox into csv, but csv file contains question marks instead of Russian text.</p>
  
  <p>I tried text encoding in inputstream "Windows-1252" new <code>InputStreamReader(fr, "Windows-1252");</code> also set <code>System.setProperty("console.encoding", "UTF-8");</code> but notings work.</p>
  
  <pre><code>    byte[] text = tc.getText().getBytes(StandardCharsets.UTF_8);
      String encodedString = new String(text, StandardCharsets.UTF_8);
      System.out.println("result=" + encodedString );
  </code></pre>
  
  <p>I received result in console is PDF contains text like "Полное наименование"
  result=???????????? ??????????
  result=???????? ??????????</p>