Hi Andy,
Thanks for you reply.
I saved hierarchy.csv from LibreOffice and selected Unicode UTF-8 encoding under "Edit filters"
After publishing on
shiny.io, the en dashes (which are present as symbols not character code in the source file) are now correct in the table but in the results.csv I now get:
Agrostis stolonifera – Potentilla anserina
So I specifed UTF in the downloadHandler function:
output$down = downloadHandler(
filename = function() {paste("results_", analysis()$outName, sep = "")},
content = function (file){write.csv(analysis()$fullTable, file, fileEncoding = "UTF-8")}
)
But this doesn't change anything. Still, the issue now seems to be with encoding the output file rather than the
shiny.io server. Any ideas?