gesiscss/WhatsR

plot_emoji() imports dictionary as latin1 on windows

JuKo007 opened this issue · 0 comments

Function: plot_emoji()
Lines: 48

The emoji dictionary that is contained in the package is saved in UTF-8 format. The default encoding on windows is latin-1 and the dictionary is thus imported with the incorrect encoding, leading to messed up plots. read.csv needs encoding = "UTF-8" for correctly formatted imports or an alternaitve function needs to be used if that doesn't work