`fread` with headers with special characters (latin1) and unusual nested quotes

Now fixed with commit f91bba1 in current devel, v1.9.7. From NEWS:

fread() did not respect encoding on header column. Now fixed, #1680. Thanks @nachti.

With this, I get:

names(fread("~/Downloads/latin1quotedat.csv", encoding = "Latin-1"))
# [1] "Ort"         "Straße"      "Bezeichnung"

Leave a Comment

tech