You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When a data frame with unicode characters (e.g. Chinese), the formattable is not correctly rendered in RStudio viewer pane but rendered correctly in html document produced by rmarkdown renderer.
I trace the execution in formattable:::as.htmlwidget.formattable and the encoding is well preserved everywhere before htmlwidgets::createWidget is finally called. Then I guess the problem occurs in this function.
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue and link to this old issue if necessary.
When a data frame with unicode characters (e.g. Chinese), the
formattable
is not correctly rendered in RStudio viewer pane but rendered correctly in html document produced by rmarkdown renderer.The locale of the R session must be set as Chinese first using
The text was updated successfully, but these errors were encountered: