guess_encoding | R Documentation |
Uses stringi::stri_enc_detect()
: see the documentation there
for caveats.
guess_encoding(file, n_max = 10000, threshold = 0.2)
file |
A character string specifying an input as specified in
|
n_max |
Number of lines to read. If |
threshold |
Only report guesses above this threshold of certainty. |
A tibble
guess_encoding(readr_example("mtcars.csv"))
guess_encoding(read_lines_raw(readr_example("mtcars.csv")))
guess_encoding(read_file_raw(readr_example("mtcars.csv")))
guess_encoding("a\n\u00b5\u00b5")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.