I am struggling to display Japanese characters in a dataframe, which have been retrieved from a MySQL database using the RMySQL package. Japanese characters display fine if
When trying to use utf8/utf8mb4, if you see Question Marks (regular ones, not black diamonds),
CHARACTER SET utf8
(or utf8mb4). Fix this.The problem seems to be fixed by adding the following line before retrieving that data:
rs <- dbSendQuery(con, 'set character set "utf8"')