Windows encoding utf-8 in shiny verbatimTextOuptut

The string "папка0" prints out fine in Rstudio and Shiny on macOS. However, on Windows it only prints OK in RStudio but not in Shiny verbatimTextOuput. See below. I checked that the encoding of the string is UTF-8. Any suggestions on how to fix?

library(shiny)

ui <- fluidPage(
  actionButton("prn", "Print"),
  verbatimTextOutput("prn")
)

server <- function(input, output) {
  observeEvent(input$prn, {
    print("папка0")
  })
  
  output$prn <- renderPrint({
    print(input$prn)
    print("папка0")
  })
}

# Run the application 
shinyApp(ui = ui, server = server)

Session Info:

> devtools::session_info()
Session info ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 setting  value                       
 version  R version 3.5.1 (2018-07-02)
 system   x86_64, mingw32             
 ui       RStudio (1.2.679)           
 language (EN)                        
 collate  English_United States.1252  
 tz       America/Los_Angeles         
 date     2018-07-20                  

Packages ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 package    * version    date       source        
 base       * 3.5.1      2018-07-02 local         
 compiler     3.5.1      2018-07-02 local         
 datasets   * 3.5.1      2018-07-02 local         
 devtools     1.13.6     2018-06-27 CRAN (R 3.5.0)
 digest       0.6.15     2018-01-28 CRAN (R 3.5.0)
 graphics   * 3.5.1      2018-07-02 local         
 grDevices  * 3.5.1      2018-07-02 local         
 htmltools    0.3.6      2017-04-28 CRAN (R 3.5.0)
 httpuv       1.4.4.2    2018-07-02 CRAN (R 3.5.1)
 jsonlite     1.5        2017-06-01 CRAN (R 3.5.0)
 later        0.7.3      2018-06-08 CRAN (R 3.5.0)
 magrittr     1.5        2014-11-22 CRAN (R 3.5.0)
 memoise      1.1.0      2017-04-21 CRAN (R 3.5.0)
 methods    * 3.5.1      2018-07-02 local         
 mime         0.5        2016-07-07 CRAN (R 3.5.0)
 promises     1.0.1      2018-04-13 CRAN (R 3.5.0)
 R6           2.2.2      2017-06-17 CRAN (R 3.5.0)
 Rcpp         0.12.17    2018-05-18 CRAN (R 3.5.0)
 rlang        0.2.1      2018-05-30 CRAN (R 3.5.0)
 rstudioapi   0.7.0-9001 2018-05-25 local         
 shiny      * 1.1.0      2018-05-17 CRAN (R 3.5.0)
 stats      * 3.5.1      2018-07-02 local         
 tools        3.5.1      2018-07-02 local         
 utils      * 3.5.1      2018-07-02 local         
 withr        2.1.2      2018-03-15 CRAN (R 3.5.0)
 xtable       1.8-2      2016-02-05 CRAN (R 3.5.0)