Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for NA in chunk lines (tolerate mismatched encodings); fixes #924 #937

Merged
merged 1 commit into from Jan 17, 2017

Conversation

jmcphers
Copy link
Member

This change fixes an issue in which Shiny R Markdown deployed to shinyapps.io does not always render properly there. It's caused when files with Latin1 Windows encoding are treated as UTF-8 on shinyapps.io and there are certain Latin characters in the file (in this case it's ñ).

This is just a workaround which allows the app to function even though the encoding is not correct; it does not solve the underlying issue. What's really needed is work in the bundle to persist the file's encoding in its deployment bundle so that it can be used as an argument to rmarkdown::run on shinyapps.io and Connect, or to translate all code-bearing files in the bundle from native encodings to UTF-8 prior to bundling them.

@jjallaire jjallaire merged commit 5b74148 into master Jan 17, 2017
@yihui yihui deleted the bugfix/discover-na-encoding branch January 18, 2017 17:07
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 3, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants