I have tried to load .csv in R. I get something like this
<f3>?<e9><U+00BC>?<e4><f3> .
I have set my deafult text encoding to UTF-8 in global options. Is it possible for R to encode especially the apostrophe when exporting?
df = read.csv("text.csv", encoding="UTF-8",header=TRUE, stringsAsFactors=FALSE)
####Original CSV (Open in Notepad++)####
I don?ó?é¼?äót want
Jes?ÇÖs in the Family
others that wasn?ó?é¼?äót resolved and told
Am really happy with the this ?ƒÿü,
new ?ó?é¼?ôunbreakable?ó?é¼?¥
on the freeway?Ǫ.
####Load in R####
I don?<f3>?<e9><U+00BC>?<e4><f3>t want
Jes?<c7><d6>s in the Family
others that wasn?<f3>?<e9><U+00BC>?<e4><f3>t resolved and told
Am really happy with the this ?<U+0083><ff><fc>
new ?<f3>?<e9><U+00BC>?<f4>unbreakable?<f3>?<e9><U+00BC>?<U+00A5>
on the freeway?<U+01EA>.
####What I want####
Because I don't want
Jes's in the Family
others that wasn't resolved and told
Am really happy with the this
new 'unbreakable'
on the freeway….
Thanks.