Skip to content
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

Possible encoding error #113

Closed
karsfri opened this issue May 18, 2019 · 0 comments

Comments

@karsfri
Copy link

commented May 18, 2019

I'm reading in a csv file with a WINDOWS-1252 encoding. It works perfectly with readr but some characters get messed up when using vroom. For instance I get a heading Sveitarfélag instead of Sveitarfélag

library(tidyverse)
library(vroom)

vroom(
  "https://px.hagstofa.is:443/pxis/sq/47d9838b-da9d-4386-aa52-66d389ae5e49",
  delim = ";",
  locale = locale(encoding = "WINDOWS-1252")
  )

read_delim(
  "https://px.hagstofa.is:443/pxis/sq/47d9838b-da9d-4386-aa52-66d389ae5e49",
  locale = locale(encoding = "WINDOWS-1252"),
  delim = ";"
)

p.s. This is my first post on github ever. I don't know if I need to post any more details?

@jimhester jimhester closed this in 74627dc May 20, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant
You can’t perform that action at this time.