[R] Non-ACSII characters in R on Windows

Duncan Murdoch murdoch.duncan at gmail.com
Tue Sep 17 15:01:47 CEST 2013


On 13-09-17 8:15 AM, Milan Bouchet-Valat wrote:
> Le lundi 16 septembre 2013 à 20:04 +0400, Maxim Linchits a écrit :
>> Here is that old post:
>> http://r.789695.n4.nabble.com/read-csv-and-FileEncoding-in-Windows-version-of-R-2-13-0-td3567177.html
>>
>> A taste: "Again, the issue is that opening this UTF-8 encoded file
>> under R 2.13.0 yields an error, but opening it under R 2.12.2 works
>> without any issues. (...)"
> I have tried with R 2.12.2 both 32 and 64 bit on Windows Server 2008
> with the French (CP1252) locale, and I still experience an error with
> the test case I provided in previous messages. So it does not sound like
> it is the same issue.


I can reproduce the error with a file sent to me by Maxim.  From a quick 
look, I suspect that changes will be needed to read.table to handle 
this, and they'll be large enough that they won't make it into 3.0.2, 
but hopefully will go into R-patched after the release.

Duncan Murdoch



More information about the R-help mailing list