remove_non_utf8 | R Documentation |
Removes non-UTF-8 characters in a given character vector.
remove_non_utf8(x)
x |
A character vector. |
A character vector of strings without non-UTF-8 characters.
non_utf8 <- 'fa\xE7ile'
Encoding(non_utf8) <- 'latin1'
remove_non_utf8(non_utf8)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.