Hi Yihui,
I tried very hard to create a testcase. It works on my box but somehow I does not display properly on github. Here it is -
I see the funny characters on my Ubuntu and Mac OSX boxes, but not on github. Nevertheless, I think you should be able to see them if you download the repository.
If you run testCaseBase.R, you will see little boxes instead of the funny characters, but the other text will show.
I have another case where I am fetching this from mongo, see testCaseMongo.R (needs to have local mongo and run load_testcase.sh previously).
In this case, the text does not display at all. I don't think this particular issue is with shiny but rather RMongo probably. I get back "unknown" encoding for that text that shiny does not know what to do with.
> sessionInfo()
R version 3.1.1 (2014-07-10)
Platform: x86_64-pc-linux-gnu (64-bit)
locale:
[1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
[5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
[7] LC_PAPER=en_US.UTF-8 LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] shiny_0.9.1.9006
loaded via a namespace (and not attached):
[1] bitops_1.0-6 caTools_1.17 digest_0.6.4 httpuv_1.3.0
[5] Rcpp_0.11.2 RJSONIO_1.2-0.2 xtable_1.7-3
But hopefully we can solve at least the first case. We should see those funny characters instead of boxes.
Thanks for looking into it.