I am trying to read a csv
file generated by Sql Server Management Studio and encoded as UTF-8
(I chose that option when saving it) into R
version 3.0.1 (x64) through read.csv2()
. I can't get R to display special characters correctly.
If I set fileEncoding="UTF-8-BOM"
the import stops at the line where I have a ÿ. However, when opening the file in Notepad++
the ÿ is displayed correctly with UTF-8
encoding. I have tried without setting fileEncoding
, but then the special characters aren't displayed correctly (of course).
The csv flie is available here: https://www.dropbox.com/s/7y47i826ikq8ahi/Data.csv
How do I read the csv file and display the text in the right encoding?
Thanks!!