Hi, Qin, I am afraid the problem you met is Windows-specific. On OSX and Linux, I got
> error_with_unicode(enc2utf8("测试")) *Error: 测试* Personally I am not sure we can fix this on C++ side. Best wishes, KK
_______________________________________________ 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