Exception: The surrogate pair is invalid on saving PPTX

ProblemPresentation.zip (4.1 MB)

Hi guys,

We’re using Aspose.Slides .Net v19.11 and getting the error below when opening and saving the attached presentation. The error occurs on the save command.

“The surrogate pair (0xD83D, 0xD83D) is invalid. A high surrogate character (0xD800 - 0xDBFF) must always be paired with a low surrogate character (0xDC00 - 0xDFFF).”

Code to reproduce:

Presentation pres = new Presentation(“C:\Test\ProblemPresentation.pptx”);
pres.Save(“C:\Test\Output.pptx”, Aspose.Slides.Export.SaveFormat.Pptx);

@DanielNoacl,

I have observed the issue shared by you. An issue with ID SLIDESNET-41620 has been created in our issue tracking system to further investigate and resolve the issue. This thread has been linked with the issue so that you may be notified once the issue will be fixed.

The issues you have found earlier (filed as SLIDESNET-41620) have been fixed in this update.