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 that got me [1]"\xff\xfe1" "" "" "" "" "" This is a tab delimited text file, despite the ANA extension. It is created by a custom software program that interfaces with some specialized scientific equipment. Thank you for your help. Regards, Tim
Reasonably Related Threads
- Trouble reading a UTF-16LE file
- Trouble reading a UTF-16LE file
- Trouble reading a UTF-16LE file
- iconv to UTF-16 encoding produces error due to embedded nulls (write.table with fileEncoding param)
- iconv to UTF-16 encoding produces error due to embedded nulls (write.table with fileEncoding param)