The whole topic is such a can of worms. It is 2021, and we just wish we had utf-8 everywhere. Sadly the OS dependence underneath rears its head here. Tomas wrote well about it:
https://developer.r-project.org/Blog/public/2020/07/30/windows/utf-8-build-of-r-and-cran-packages/index.html "One day" this may be easier. Until then the best we can do may be to borrow helper functions from R. Dirk -- https://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel