Hi there,
After using Aspose.Slides API to set an ExternalHyperlinkClick with a valid file URI, the link becomes unusable.
This occurs in the specific case when there are non-English alphabet characters in the file path (characters not used in US-ASCII).
Setting of the ExternalHyperlinkClick with such a file URL results in any non English alphabet characters encoded with their corresponding Web URL %-encoding. This is fine when referencing the file via the browser URL bar, but not in the case of creating a working link in a Microsoft document to non-Web location.
Example URLs:
Using Aspose to modify:
file://C:/some directory/Documents/test/Prüfstandsanzeige_BDV.docx
to:
file://C:/some directory/test/subfolder/Prüfstandsanzeige_BDV.docx
The resulting link path is:
file://C:/some directory/Documents/test/Pr%C3%BCfstandsanzeige_BDV.docx
This will of course fail to find the file as file paths do not use Web URI %-encoding for non-English alphabet characters.