Last chance! 50% off unlimited learning
Sale ends in
powered by
Removes non-UTF-8 characters in a given character vector.
remove_non_utf8(x)
A character vector of strings without non-UTF-8 characters.
A character vector.
non_utf8 <- 'fa\xE7ile' Encoding(non_utf8) <- 'latin1' remove_non_utf8(non_utf8)
Run the code above in your browser using DataLab