-
Notifications
You must be signed in to change notification settings - Fork 986
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
robust encoding in fread (like 'fread("iconv -f ISO-8859-1 -t UTF-8 mytextfile.txt")') #1748
Comments
Please provide a reproducible example. Possible duplicate of #1726 |
now when you do
None of theese issues happen if I perform them on windows, or if I save the file and do
Hope this helps Sincerely |
@andreasio is it what you expect? path <- "http://is.gd/0UMAfv"
testdata <- fread(path, encoding="Latin-1")
names(testdata)
#[1] "Færdig" "Forventet udlært" "Afslut.årsag" "Virk. navn" "Lsted_id" If so, please re-run on latest devel version, it may have been fixed since you install it. If it didn't help please come back with |
Yes Thats what i expect, but on my linux Box Thats not what Happens?
|
in 1.9.7 it works as expected. Thanks.
|
Since #563 is closed, I am adding this as a feature request.
fread still causes trouble on most of the files I work with (danish windows files). E.g. I have an iso-8850-1 windows file, that I can't fread correctly on linux. This workaround (#563 (comment) works). And read.csv works (i.e. produces the correct øæå letters, instead of e.g. \xe6), but fread(... encoding = "Latin-1") does not.
Sincerely
The text was updated successfully, but these errors were encountered: