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

Problem with BOM and Saving files in Excel #208

Open
migarc1 opened this issue Apr 27, 2017 · 1 comment
Open

Problem with BOM and Saving files in Excel #208

migarc1 opened this issue Apr 27, 2017 · 1 comment

Comments

@migarc1
Copy link

migarc1 commented Apr 27, 2017

I need to add the attribute add-bom="true" because I am localizing my CSV File. The problem comes when I open the file, and try to save. The format will change, and if you try it to open again the file you will see a complete disorder.

Steps to reproduce:

  1. Generate a CSV file with at least 2 columns and with special characters (With add-bom attribute).
    <button type="button" ng-csv="getArray" csv-header="getHeader()" filename="example.csv" field-separator="," decimal-separator="." add-bom="true">
  2. Open the file in Excel
  3. Save the file with the button at the top of Excel (image), and close the file. (Don't save it again when Excel asks you)
  4. Open the file with Excel.

Before you save the file:
image
image

After you save the file:
image
image

Any help will be appreciated it.

Thanks.

@WittTheRock
Copy link

WittTheRock commented May 4, 2017

Same problem.
(Win 7, Office 2013)

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