Skip to content
New issue

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

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

Already on GitHub? # to your account

Encoding problems #23

Closed
egcmi opened this issue Aug 21, 2019 · 2 comments
Closed

Encoding problems #23

egcmi opened this issue Aug 21, 2019 · 2 comments
Labels

Comments

@egcmi
Copy link

egcmi commented Aug 21, 2019

Hi,
first of all thanks for the great work!

I think I am experiencing some issues with encoding.
I have this data that I pass to JsonCSV:

data = [{
order: 37
lastname: Širůčková
firstname: Tereza
}]

and I expect the downloaded csv to contain:

order,lastname,firstname
37,Širůčková,Tereza

but instead I get this output:

order,lastname,firstname
37,`iro
ková,Tereza

Encoding is set to default (utf8). I tried changing it to utf16 to no avail. Anyway I don't think that's the issue, as I use another tool to generate pdf files with encoding set to utf8 and have no problem. I did not notice similar behaviour with other characters so far. Is it a known issue? Is there a fix for this? If you could point me in the right direction it would be highly appreciated.

Thank you in advance

Belphemur pushed a commit that referenced this issue Aug 21, 2019
## [1.2.6](v1.2.5...v1.2.6) (2019-08-21)

### Bug Fixes

* **Encoding:** Fix utf8 encoding problems. ([30d685d](30d685d)), closes [#23](#23)
@Belphemur
Copy link
Owner

🎉 This issue has been resolved in version 1.2.6 🎉

The release is available on:

Your semantic-release bot 📦🚀

@Belphemur
Copy link
Owner

Hello @egcmi,

If you upgrade the lib to the latest version, it should work flawlessly :)

Thanks for the bug report.

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

No branches or pull requests

2 participants