I have a web form that users can fill out and that content fills up a PDF with FPDF and PHP. When a user enters a word with an apostrophe, a slash appears before it on the P
Try this simple function: utf8_encode($txt). It works for me.
utf8_encode($txt)