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

"separator-excel=true" and "encoding=utf-8" prevent BOM to work #43

Closed
Maze-fr opened this issue Apr 9, 2020 · 3 comments
Closed

"separator-excel=true" and "encoding=utf-8" prevent BOM to work #43

Maze-fr opened this issue Apr 9, 2020 · 3 comments

Comments

@Maze-fr
Copy link

Maze-fr commented Apr 9, 2020

Hello,

I'm using version 1.2.10, and I have a strange behaviour....

When trying to export using separator-excel=true and encoding set to encoding=utf-8, then I have the encoding being set like without BOM.

As a workaround, I've set the delimiter to ";" and removed separator-excel=true.
I think it's probably an Excel problem more than a "vue-json-csv" problem, but I don't know...

So I hope that it will at least help some people having this issue.

@abregre
Copy link

abregre commented Mar 17, 2021

Great work-around

@ioaNikas
Copy link

Thanks a lot for this, saved my day !

@Belphemur
Copy link
Owner

I dig as deep as a could, and yes, it's an excel issue. I can't do anything about this ...
When I specific the separator, excel discard the encoding of the file.

https://stackoverflow.com/questions/20395699/sep-statement-breaks-utf8-bom-in-csv-file-which-is-generated-by-xsl

@Belphemur Belphemur pinned this issue Mar 28, 2022
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

4 participants