Save excel file throws ArgumentException with some special character

Posted by: yyoshimura on 21 June 2022, 4:44 pm EST

  • Posted 21 June 2022, 4:44 pm EST


    We have a workbook with some special characters in it (e.g. 0xFFFF).
    When we save the book using the library it will throw ArgumentException with message "hexadecimal value 0xFFFF is an invalid character." But we can save the same file with Excel with no problem. Please refer attachment for reproduction.

    Please help to investigate this issue. Thank you.

  • Replied 22 June 2022, 2:43 pm EST


    Thank you for reporting this issue.
    We too can observe the issue and escalated this to the development team for investigation. We will let you know as soon as we get any update on this from their end.
    [Internal Tracking ID: DOCXLS-6138]

    Prabhat Sharma.
  • Marked as Answer

    Replied 11 July 2022, 10:46 pm EST


    We are glad to inform you that the issue has been fixed in the latest release 5.1.4. Please upgrade to the latest version to get this resolved.

    Prabhat Sharma.
Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels