-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rcpp exception with UTF-8 strings on Windows #10
Comments
Just take a look at the way I handle UTF8 string input in |
Yes, I imported |
I opened a PR in Rcpp repo to make this fixable with a macro in Rcpp and it was merged. |
that's great that you contributed some code to Rcpp! Good job! Now when you use the new macro this issue is fixed, right? So now I would say we can keep the Rcpp interface, right? (we don't need to consider re-writing the re2r interface to use the standard Rinternals.h headers) |
Rcpp 0.12.6 is now on CRAN |
This Rcpp issue will affect the error message for regular expression.
Here is an issue about related to this before.
[Rcpp-devel] Unicode on windows 1
[Rcpp-devel] Unicode on windows 2
The solution in the above mailing list posts can not solve the exception handling string problem.
I send an email to the Rcpp mailing list about this issue, and here is links to the discussion:
[Rcpp-devel] Rcpp exception with UTF-8 strings on Windows 1
[Rcpp-devel] Rcpp exception with UTF-8 strings on Windows 2
It seems that Rcpp will not fix this very soon. So I suggest to use the origin R-C API to rewrite existing codes.
The text was updated successfully, but these errors were encountered: