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
Error when reading csv in non UTF-8 encoding #1022
Comments
Bummer; it seems like the |
A work around would be to do |
It works, thanks! |
I had the same problem. Maybe update the examples? CSV.File docstring already suggest similar work around: https://csv.juliadata.org/stable/reading.html#CSV.File
|
I've implemented a fix at JuliaStrings/StringEncodings.jl#53. Though @quinnj do you think CSV.jl could use a more efficient approach? My implementation of |
I'm releasing a new StringEncodings version to fix this, but it would still be interesting to check whether a more efficient solution could be implemented @quinnj. |
Bump @quinnj. |
Ah, sorry for the slow response. Yeah, @Drvi and I have been jamming on some bigger-picture refactorings that will eventually make there way here, and yes, in the new model, we're using |
Hello,
According to https://docs.juliahub.com/CSV/HHBkp/0.10.4/examples.html#stringencodings, reading csv encoded in non-utf-8 format is done using
StringEncodings
.Example code provided:
However, I can't make it work as suggested:
Notes:
Versioninfo:
The text was updated successfully, but these errors were encountered: