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

Previewer not displaying special characters in text-based files #35

Open
jggautier opened this issue Jan 17, 2020 · 1 comment
Open

Comments

@jggautier
Copy link

Just reporting that are not being displayed in files text files, like CSV files and .txt files, like this one at https://doi.org/10.7910/DVN/YZRJWD/A0SND4:

Screen Shot 2020-01-17 at 2 13 46 PM

@djbrooke tried to see if this might be a known issue with one of the previewer's dependencies but didn't find anything, I think.

@qqmyers
Copy link
Member

qqmyers commented Jan 17, 2020

Looks like the code retrieves the file as binary and doesn't set the encoding (UTF-8?). It looks like the underlying library used can retrieve the file directly from the URL and may handle that. If not, it may be something we need to set in the call. @anncie-pcss - are you able to look at fixing this somehow?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants