I was having big problems with 'pdftotext' producing wacky characters that were making life difficult when I would edit the file. The trick is to set the encoding to ASCII7:
pdftotext -enc ASCII7 file.pdf
I added a line to my .zshrc with the following alias
alias pdftotext='pdftotext -enc ASCII7'