I cannot import the following cities: Genève Bülach etc..
I have tried the solutions on Stackoverflow but nothing seems to work. Do you have something that worked for you?
Thank you.
I cannot import the following cities: Genève Bülach etc..
I have tried the solutions on Stackoverflow but nothing seems to work. Do you have something that worked for you?
Thank you.
Try importing your file specifying the encoding to encoding = "UTF-8"
in the read.csv
function.
For example, data <- read.csv("your_file.csv", encoding = "UTF-8")
.
Try this other Stackoverflow thread where the OP first tries to guess the encoding by using guess_encoding("you file name here")
(from readr
package). Then instead of writing encoding= "[whatever it gives you]"
in your read.csv
statement, try fileEncoding = "[whatever it gives you]"
.
Incidentally for me, having "é" and "è", it gave me "ISO-8859-1" and I was able to import the data with the correct accented characters.