{"action":"created","issue":{"url":"https://api.github.com/repos/rstudio/DT/issues/99","labels_url":"https://api.github.com/repos/rstudio/DT/issues/99/labels{/name}","comments_url":"https://api.github.com/repos/rstudio/DT/issues/99/comments","events_url":"https://api.github.com/repos/rstudio/DT/issues/99/events","html_url":"https://github.com/rstudio/DT/issues/99","id":87029855,"number":99,"title":"Invalid multibyte string in renderDataTable","user":{"login":"LucianoSP","id":10941537,"avatar_url":"https://avatars.githubusercontent.com/u/10941537?v=3","gravatar_id":"","url":"https://api.github.com/users/LucianoSP","html_url":"https://github.com/LucianoSP","followers_url":"https://api.github.com/users/LucianoSP/followers","following_url":"https://api.github.com/users/LucianoSP/following{/other_user}","gists_url":"https://api.github.com/users/LucianoSP/gists{/gist_id}","starred_url":"https://api.github.com/users/LucianoSP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LucianoSP/subscriptions","organizations_url":"https://api.github.com/users/LucianoSP/orgs","repos_url":"https://api.github.com/users/LucianoSP/repos","events_url":"https://api.github.com/users/LucianoSP/events{/privacy}","received_events_url":"https://api.github.com/users/LucianoSP/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-10T16:35:39Z","updated_at":"2015-06-11T18:23:06Z","closed_at":null,"body":"I managed to install a Shiny Server on Amazon AWS using Ubuntu 14.04. \r\n\r\nI have an app running locally without problems (Windows). My app reads a file with readRDS and perform serveral functions and plot using this dataframe. \r\n\r\nI have problems with encoding that I can´t solve. I tried using enc2utf8 (which solved some problems, but still persist). \r\n\r\nI have my app show 2 tables based on the same data. One of them is using client side processing. It shows the table, but once I try to use the search function, it gives an error related to multibyte string. \r\nThe other one is using server side processing (large table). It doesn´t even show in the app (invalid multibyte string).\r\n\r\nHow can I solve this? Is there a way I can set the Linux, R, and Shiny on my Ubuntu Server to work with the apps I create in my Windows Machine??\r\n\r\nI save all files (server.R and ui.R) using UTF-8 encoding. \r\n\r\nHelp is much appreciated.\r\n\r\n\r\nThis is the info I have:\r\n\r\n> sessionInfo()\r\nR version 3.2.0 (2015-04-16)\r\nPlatform: x86_64-w64-mingw32/x64 (64-bit)\r\nRunning under: Windows 7 x64 (build 7601) Service Pack 1\r\n\r\nlocale:\r\n[1] LC_COLLATE=Portuguese_Brazil.1252  LC_CTYPE=Portuguese_Brazil.1252    LC_MONETARY=Portuguese_Brazil.1252\r\n[4] LC_NUMERIC=C                       LC_TIME=Portuguese_Brazil.1252    \r\n\r\nattached base packages:\r\n[1] stats     graphics  grDevices utils     datasets  methods   base     \r\n\r\nother attached packages:\r\n[1] ggplot2_1.0.1    DT_0.0.50        data.table_1.9.4 dplyr_0.4.1      ggvis_0.4.2      shiny_0.12.0    \r\n\r\nloaded via a namespace (and not attached):\r\n [1] Rcpp_0.11.6      rstudioapi_0.3.1 magrittr_1.5     MASS_7.3-40      munsell_0.4.2    colorspace_1.2-6 xtable_1.7-4     R6_2.0.1        \r\n [9] stringr_1.0.0    plyr_1.8.2       tools_3.2.0      grid_3.2.0       parallel_3.2.0   gtable_0.1.2     DBI_0.3.1        htmltools_0.2.6 \r\n[17] lazyeval_0.1.10  yaml_2.1.13      assertthat_0.1   digest_0.6.8     reshape2_1.4.1   htmlwidgets_0.4  rsconnect_0.3.79 mime_0.3        \r\n[25] labeling_0.3     stringi_0.4-1    scales_0.2.4     jsonlite_0.9.16  httpuv_1.3.2     chron_2.3-45     proto_0.3-10  "},"comment":{"url":"https://api.github.com/repos/rstudio/DT/issues/comments/111231432","html_url":"https://github.com/rstudio/DT/issues/99#issuecomment-111231432","issue_url":"https://api.github.com/repos/rstudio/DT/issues/99","id":111231432,"user":{"login":"LucianoSP","id":10941537,"avatar_url":"https://avatars.githubusercontent.com/u/10941537?v=3","gravatar_id":"","url":"https://api.github.com/users/LucianoSP","html_url":"https://github.com/LucianoSP","followers_url":"https://api.github.com/users/LucianoSP/followers","following_url":"https://api.github.com/users/LucianoSP/following{/other_user}","gists_url":"https://api.github.com/users/LucianoSP/gists{/gist_id}","starred_url":"https://api.github.com/users/LucianoSP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LucianoSP/subscriptions","organizations_url":"https://api.github.com/users/LucianoSP/orgs","repos_url":"https://api.github.com/users/LucianoSP/repos","events_url":"https://api.github.com/users/LucianoSP/events{/privacy}","received_events_url":"https://api.github.com/users/LucianoSP/received_events","type":"User","site_admin":false},"created_at":"2015-06-11T18:23:06Z","updated_at":"2015-06-11T18:23:06Z","body":"I managed to make it work by doing this: \r\nInstalled Ubuntu Desktop 14.04 \r\nInstalled Rstudio, R, packages, etc.\r\nUsed the same script to generate the RDS file (same script from Windows)\r\nSubmitted the newly generated file to Shiny Server\r\nIt now works.\r\n\r\nI don´t know why this is happening, but this way I cannot use my windows machine to work the files. "}}