I am trying to read a shape file using the function "st_read" and this error shows:
Error in make.names(vnames, unique = TRUE) : invalid multibyte string 6
I already read others shapefiles and it works, but now I am facing it for a long time and still did not find a solution.
I tried this:
Sys.setlocale("LC_ALL", "en_US.UTF-8") st_read(paste0(harvestfolder, "/", Filename), fileEncoding="utf8")
but nothing seems to be working. Anyone could help me?