welle has asked for the wisdom of the Perl Monks concerning the following question:
Hi monks
On a Windows machine I am using pdftotext to bunch convert pdf files into plain text. Using the following, I get no problems:
system("$path/pdftotext","-nopgbrk","$path_my_pdf","$path_my_pdf.txt") +;
I now want to add the encoding option "-enc UTF-8", so I try
system("$path/pdftotext","-enc UTF-8 -nopgbrk","$path_my_pdf","$path_m +y_pdf.txt"); or simply system("$path/pdftotext","-enc UTF-8","$path_my_pdf","$path_my_pdf.txt +");
but it doesn't work. What am I missing? Thanks
SOLVED
system("$path/pdftotext","-enc", "UTF-8","$path_my_pdf","$path_my_pdf. +txt");
Back to
Seekers of Perl Wisdom