Converting PDF text to UTF-8 before saving to db

An issue about extracting non-UTF8 special characters from PDF and
storing them in the database has been resolved. Without convertion
everything after a special non-UTF8 character will not be saved in db.