In RStudio, when i go for convert my Markdown file to PDF then it gives me the error:
output file: report.knit.md
! Package inputenc Error
I had the same problem, but with a very long document. Rather than manually split the document to find the offending non-utf8 text, I found this solution (for users of RStudio), saving the document in the utf8 format, worked a treat and saved lots of time:
Here are the original links: