FAQs and Support Center

Can I repair a corrupted file?

To potentially repair a corrupted Maple worksheet, you can open the worksheet in a text editor and try the following:

  • Delete every occurrence of "NUL".

    Tip: In the "Find" window of Notepad++ with "Regular expression" selected, you can replace \x00 with nothing.

  • Repair any corrupted tags (for instance, <worksheet> missing </worksheet>). There are many tools available to accomplish this, for instance the "XML Tools" plugin for Notepad++.

  • Remove any bad character's using the Maple procedure DeleteBadCharacters() written by Joe Riel in a MaplePrimes post.
For tips on preventing corruption, please see our FAQ page on preventing Maple files from being corrupted.

Did you find this article helpful?

© Maplesoft, a division of Waterloo Maple Inc. 2017.   • Terms of Use | Privacy | Trademarks | Site Map