I'm trying to read a file in Windows CP1251 encoding (8-byte Cyrillics). My Mac's iconv understands it fine under that alias. Alas, I get an error, invalid multibyte string when trying to read it. When I convert it to UTF-8 with iconv and read without encoding=, all is well. However, I'd like to be able to read it in as 8-byte encoding as my character arrays are long. How can I verify the list of all possible options which the encoding= parameter takes, and what can prevent R.app from reading it properly?
Cheers, Alexy ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.