Suppose you have an atomic vector containing encoded character strings:
string_encoding <- c("São Paulo", "Paraná")
Is there any way to decode every element in the vector, returning a vector of the same length with ASCII, ISO-8859-1 or other class of encoding?
The output should be:
expected_encoding <- c("Sao Paulo", "Parana")