R Reports - R markdown- knitr pandoc - The input must be a UTF-8 encoded text.

LabKey Support Forum (Inactive)
R Reports - R markdown- knitr pandoc - The input must be a UTF-8 encoded text. Jon (LabKey DevOps)  2021-06-03 17:04
Status: Closed
 
Hi Hilaria,

This looks like a Pandoc issue rather than an R issue.

Do you know what version of Pandoc you're running?

An initial search shows this very problem with pandoc here:

https://stackoverflow.com/questions/47954642/pandoc-complains-about-utf-8-decoding-error-even-if-my-file-is-valid-utf-8-encod

Also, because you said this is a new server, did you remember to copy all of your old R packages over, such as the utf8 package and other ones?

https://cran.r-project.org/web/packages/utf8/utf8.pdf

Maybe your new server isn't fully equipped as your old one due to a package discrepancy?

Regards,

Jon