Encoding problem in a shiny app

Any tips to solve encoding problem. I am not able to generate the up () and down () arrows in the code below. When running, the following warning message appears:

Warning messages:
1: unable to translate 'Maximize <U+2191>' to native encoding 
2: unable to translate 'Minimize <U+2193>' to native encoding
library(shiny)

ui <- fluidPage(
  sidebarLayout(
    sidebarPanel(
      fluidRow(
        column(
          width = 6,
          selectInput("maxmin", label = h5("Maximize or Minimize"),
                      choices = list("Maximize \u2191" = 1, "Minimize \u2193" = 2), selected = "")
        )
      )),
    
    mainPanel(
      
    ))
  
)

server <- function(input, output, session) {
  
}

shinyApp(ui = ui, server = server)

This topic was automatically closed 54 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.