Rendering Non-latin text in shiny

Hi,

I want to render Georgian text in shiny app. I use following code:

output$Sect_table <- renderPrint(get_sector(input$Sector_id))

and output is following:
image

I use UTF-8 encoding, but it isn't solution.

how can I handle this problem?

Thanks

I think in this situation you would avoid the standard renderText and renderPrint functions and use the more generic uiOutput/renderUI

library(shiny)

ui <- fluidPage(
  textOutput("norm"),
  uiOutput("george")
)
gtext <- "პ"
server <- function(input, output, session) {
  output$norm <- renderText(gtext)
  output$george <- renderUI(gtext)
}

shinyApp(ui, server)
1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.