I looked on the PDFDocument example. it does file link, e.g. like this:
Dim ff As FolderItem = SpecialFolder.Desktop.Child("täst.pdf")
d.AddLinkArea(f.name,10,210, 400, tHeight*2)
that produces a web link to a file URL and that works. Same in DynaPDF goes like this:
Dim ff As FolderItem = SpecialFolder.Desktop.Child("täst.pdf")
Call pdf.Weblink(50, 50, 500, 50, ff.URLPath)
which produces the same link in the PDF:
/URI(file:///Users/cs/Desktop/ta%CC%88st.pdf)
The thing that makes trouble is FileLink, where DynaPDF writes both an unicode version and an ansi version. That one works here with Windows and Adobe Reader:
Dim ff As FolderItem = SpecialFolder.Desktop.Child("täst.pdf")
Call pdf.FileLink(50, 50, 500, 50, ff.name)
which then in Adobe Reader shows a dialog like this:
Please note that the preview in a browser won’t do such a link at all.
On macOS in preview it does not work and I get the error showing ta?st.pdf.
If I change it to pass “ta%CC%88st.pdf”, I get an error from Preview, that it % encoded the %
“file:///Users/cs/Desktop/ta%25CC%2588st.pdf”
So I can only conclude that there is a bug in Preview, where it tries to convert the text in the PDF to an URL, which fails or gives different results in compared to Adobe Reader.
I can only suggest to stay with ASCII file names.