displaying Japanese characters retrieved from MySQL in R

后端 未结 2 1347
情深已故
情深已故 2020-12-10 19:26

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

2条回答
  •  一个人的身影
    2020-12-10 19:59

    The problem seems to be fixed by adding the following line before retrieving that data:

    rs <- dbSendQuery(con, 'set character set "utf8"')
    

提交回复
热议问题