Which file encoding to use to detect ≤ symbol correctly while writing csv ?

Am not sure why ≤ symbol when read visible in R, correctly but
when wrote as CSV has weird symbols ?
** ≤ **

My suspection is it is because of file encoding. So I tried many
"UTF-16LE" and UTF-8 which is default but still not identifying the symbol.

df <- read_excel("myfile.xlsm")
View(df)
write.csv(df,"df.csv")

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.