-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
utf-8 display issue in rendering functions #1671
Comments
I'm able to reproduce this problem in Windows when I save that to a file (as UTF-8) and then call |
The problem is in
This is the code in question: |
@jiayi9 One workaround is to use library(shiny)
server <- function(input, session, output) {
output$UTF8_text = renderUI({
"中文"
})
}
ui <- fluidPage(
p("中文"),
uiOutput("UTF8_text")
)
shinyApp(ui = ui, server = server) |
Yes, using |
I'm reopening this because it is a bug that should be addressed. |
Could you find a solution to this issue? I am using |
Hi, I just ran into this trying to get macrons to work properly in Māori. Thanks for the |
Saving all files in
UTF-8
encoding does make allUTF-8
characters in theui.R
display properly. But the characters in all rendering functions still don't get displayed correctly.The two Chinese characters
中
is displayed as<U+4E2D>
and文
is displayed as<U+6587>
.Please see below.
http://stackoverflow.com/questions/43485436/r-shiny-display-utf-8-characters-in-render-functions
The text was updated successfully, but these errors were encountered: