This function has been deprecated because it doesn't work. Instead re-read the HTML file with correct encoding argument.
repair_encoding(x, from = NULL)
The encoding that the string is actually in. If NULL, guess_encoding will be used.