R rvest encoding errors with UTF-8
问题 I'm trying to get this table from Wikipedia. The source of the file clamis it's UTF-8: > <!DOCTYPE html> <html lang="en" dir="ltr" class="client-nojs"> <head> > <meta charset="UTF-8"/> <title>List of cities in Colombia - Wikipedia, > the free encyclopedia</title> > ... However, when I try to get the table with rvest it shows weird characters where there should be accented (standard spanish) ones like á, é, etc. This is what I attempted: theurl <- "https://en.wikipedia.org/wiki/List_of_cities