I am working with data from all possible European languages. R does not recognize special characters correctly, e.g. "ć" instead of "c".
> "ć"
[1] "c"
I have come accross this various times and found workarounds (read.csv, and other functions have the option encoding
), this does not solve my problem however as described above. Further I tried
> a <- "ć"
> Encoding(a)
[1] "unknown"
and setting the options
for encoding
to "UTF-8" without success. Is there a way to tell R with what encoding to read from the console before actually assigning the character?