Skip to content

Instantly share code, notes, and snippets.

@MansMeg
Created September 7, 2015 16:34
Show Gist options
  • Save MansMeg/1c68c0a36850601fe93c to your computer and use it in GitHub Desktop.
Save MansMeg/1c68c0a36850601fe93c to your computer and use it in GitHub Desktop.
How to find the encoding of a file in R
stringi::stri_enc_detect(content(r, "raw"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment