I've faced an encoding problem with readr, which is triggered by the release of R 3.5.0, and tried to fix it on Rcpp's side.
But, I couldn't find the neat way to convert the
std::string with the specified encoding. Base R has
Rf_translateChar(). Does Rcpp have the corresponding function for this?
More general question I want to ask is, are there any good resources about how to work with character encodings with Rcpp/C++/C? I always ran into these readings:
Any suggestions are welcome!