Problems with Hebrew encoding in Shiny

54 views
Skip to first unread message

Eitan

unread,
Sep 30, 2014, 7:11:27 AM9/30/14
to shiny-...@googlegroups.com

Hi,
I have problems with Hebrew encoding in Shiny.
In the Rstudio i can view the Hebrew text correctly , but when i run the Shiny app I have gibberish.

1 - Hebrew becomes gibberish in the Shiny DataTable viewers window/browser.
2 - If I take the columns name (names(df)) I can see the Hebrew symbols correctly but with dot between words.

How can I solve it?
Do you have a solution that appropriate to give solution that working when I share my apps? Meaning to say, when I'll share apps with customers they won't have to do a lot of changes.

Thank you !

eliav schmulewitz

unread,
Nov 18, 2014, 8:33:39 AM11/18/14
to shiny-...@googlegroups.com
eitan hi
1. what are you using for shiny? (spark/shinyapps.io...)
2. what are you running your Rstudio on? (windows/linux...)
3. can you add some code
Eliav

Yoni Sidi

unread,
Feb 27, 2015, 8:43:51 AM2/27/15
to shiny-...@googlegroups.com
i found the same problem, it is more pronounced for windows users that cant set windows-1255.utf-8 like unix users. this is a screen grab from the new rstudio that uses the same framework as datatables.

> R.version
               _                           
platform       x86_64-w64-mingw32          
arch           x86_64                      
os             mingw32                     
system         x86_64, mingw32             
status                                     
major          3                           
minor          1.2                         
year           2014                        
month          10                          
day            31                          
svn rev        66913                       
language       R                           
version.string R version 3.1.2 (2014-10-31)
nickname       Pumpkin Helmet              

> Sys.info()
       sysname        release        version          machine          
     "Windows"        "7 x64"   "build 9200"        "x86-64"     

> RStudio.Version()
$citation

To cite RStudio in publications use:

  RStudio Team (2015). RStudio: Integrated Development for R. RStudio, Inc., Boston, MA URL http://www.rstudio.com/.

A BibTeX entry for LaTeX users is

  @Manual{,
    title = {RStudio: Integrated Development Environment for R},
    author = {{RStudio Team}},
    organization = {RStudio, Inc.},
    address = {Boston, MA},
    year = {2015},
  }


$mode
[1] "desktop"

$version
[1] ‘0.99.292’
new_rstudio.png
Reply all
Reply to author
Forward
0 new messages