Skip to content
This repository has been archived by the owner on May 7, 2021. It is now read-only.

Generated CSV is not UTF-8 #1

Closed
AntoineAugusti opened this issue Apr 9, 2019 · 2 comments
Closed

Generated CSV is not UTF-8 #1

AntoineAugusti opened this issue Apr 9, 2019 · 2 comments

Comments

@AntoineAugusti
Copy link
Member

AntoineAugusti commented Apr 9, 2019

I think that the generated blob does not have any encoding yet. This causes an issue when putting special characters in columns at least. The issue happens currently with the IRVE schema, where there is a column named accessibilité.

The CSV header is recognized as accessibilité and produces 2 errors.
Screenshot+2019-04-09+at+14 27 54

The fix is likely around the encoding of the generated Blob

@abulte
Copy link
Contributor

abulte commented Apr 9, 2019

For reference, we should test this https://stackoverflow.com/a/41363077.

@AntoineAugusti
Copy link
Member Author

It does the trick 🎉

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

No branches or pull requests

2 participants