Thomas Vannier
Thomas Vannier

Reputation: 33

Can't display french accents Rstudio

I import my database.csv file with data <- read.csv("database.csv, sep = ";", header = TRUE, encoding = "utf-8")
But when I display my data, all the accents are replace by \303\251.
I did file -I database.csv in my terminal to check the encoding and it's utf-8

Upvotes: 2

Views: 3087

Answers (1)

Dieter Menne
Dieter Menne

Reputation: 10215

Use parameter fileEncoding instead of encoding.

Upvotes: 1

Related Questions