Re: [Rcpp-devel] Unicode on windows

2013-08-01 Thread Romain Francois
*Ned Harding *Sent:* Wednesday, June 26, 2013 11:54 AM *To:* rcpp-devel@lists.r-forge.r-project.org *Subject:* [Rcpp-devel] Unicode on windows I am having issues with the wide string conversion to and from Rcpp. When taking in a string from R that is encoding UTF-8, I would expect as to have

Re: [Rcpp-devel] Unicode on windows

2013-08-01 Thread Ned Harding
tells R that the data you have is UTF-8. Ned. From: rcpp-devel-boun...@lists.r-forge.r-project.org [mailto:rcpp-devel-boun...@lists.r-forge.r-project.org] On Behalf Of Ned Harding Sent: Wednesday, June 26, 2013 11:54 AM To: rcpp-devel@lists.r-forge.r-project.org Subject: [Rcpp-devel] Unicode on

[Rcpp-devel] Unicode on windows

2013-06-26 Thread Ned Harding
I am having issues with the wide string conversion to and from Rcpp. When taking in a string from R that is encoding UTF-8, I would expect as to have converted the utf-8 to a wide string. Instead, it is just widening all the characters and leaving the UTF-8 encoding. I have no issue with UTF-