Skip to content

Phone numbers with leading + #30

@trapias

Description

@trapias

Hello,
I have an issue with phone numbers which apparently is similar to issue #5 .
I generate my xlsx from json like:

 {
      "row": "1",
      "name": "John",
      "phone": "+411234567890"
    }

All data is interpreted as string by xlsx.js, but then Excel 2013 tells the file is corrupted; recoverig is successfull, but I wish to supress the error.
The problem is with the leading "+" char: if I remove it, or put an apice before it when I generate my excel rows, all works pretty good.

Is there a way to keep this char, but encode it so that Excel does not give errors opening file?
Thanks for any suggestion,
al.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions