[R] Trouble reading a UTF-16LE file

Ebert,Timothy Aaron tebert @end|ng |rom u||@edu
Wed Feb 28 14:44:49 CET 2024

Dear R-help,
    I am having trouble reading a UTF-16LE formatted file. The issue appears to be a byte order mark at the beginning of the file. I have tried readLines(file, encoding='utf-16LE') but got me 

[1]"\xff\xfe1"	""	""	""	""	""


More information about the R-help mailing list