Someone helped me with a program so that I can convert PDF files from that format to csv but they didn't specify an encoding type, Here is the code:
import os
import glob
import tabula
path="/Users/username/Downloads/"
for filepath in glob.glob(path+'*.pdf'):
name=os.path.basename(filepath)
tabula.convert_into(input_path=filepath,
output_path=path+name+".csv",
pages="all")
How can I get the CSV files to be converted with the encoding to be utf-8
or cp1252
Thanks for helping
Error I'm getting