Debian Shiny server does handle UTF-8 correctly

The following app demonstrates the problem:


# Define UI for application 
ui <- fluidPage(
   # Application title
   titlePanel("Označovanie samohlások")
server <- function(input, output) {

shinyApp(ui = ui, server = server)

The app displays UTF-8 title string correctly, when the app is served from Mac/Windows RStudio.

It fails to display the two non-ASCII characters in the app title correctly when served from on Debian. It displays ASCII string

Ozna<8d>ovanie samohlsok

instead of correct

Označovanie samohlások

R has version 3.6.1 and shiny version 1.3.2 there.

The underlying file has the same md5 checksum on all 3 systems:

I am stumped.

The problem does not occur if one changes R locale with Sys.setlocale() function like this:

Sys.setlocale("LC_ALL", "en_US.utf8")

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