title: How to save text file in UTF-8 format using pdftotext
body: <p>I am using pdftotext opensource tool to convert the PDF to text files. How can I save the text files in UTF-8 format so that I can retain all the accent characters in text files. I am using the below command to convert which extracts the content to text file but not able to see any accented characters.</p>
  
  <p>pdftotext -enc UTF-8 book1.pdf book1.txt</p>
  
  <p>Please help me to resolve this issue.</p>
  
  <p>Thanks in advance,</p>