How to detect the right encoding for read.csv?

后端 未结 6 1811
遥遥无期
遥遥无期 2020-11-27 11:02

I have this file (http://b7hq6v.alterupload.com/en/) that I want to read in R with read.csv. But I am not able to detect the correct encoding. It seems to be a

6条回答
  •  無奈伤痛
    2020-11-27 11:48

    This file has UTF-16LE encoding with BOM (byte order mark). You probably should use encoding = "UTF-16LE"

提交回复
热议问题