-
Notifications
You must be signed in to change notification settings - Fork 6
Open
Labels
Description
If you have non-english letters in the tableHTML, it will not be displayed correctly. e.g.
data.frame(a = c("Büro", "γεια")) %>%
tableHTML(rownames = FALSE)
the table would look like this:

You can fix it by specifying utf-8 as charset in a meta tag like this:
''
If you add it to the tableHTML string, the table is printed correctly:
data.frame(a = c("Büro", "γεια")) %>%
tableHTML(rownames = FALSE) %>%
paste0('<META HTTP-EQUIV="content-type" CONTENT="text/html; charset=utf-8">',
.,
collapse = "\n") %>%
tableHTML:::print.tableHTML()
