Application.Download with accented characters in the file name

0
0

Hello,

I have the following code lines :

var sFileName = “Détails bénéficiaires.pdf”;
Wisej.Web.Application.Download(streamFile, sFileName);

Microsoft Edge displays the error “We can’t open this file something went wrong” and the file isn’t downloaded.

The problem stems from the accents in the sFileName variable.

Is it possible to download a file with accents in its name with Application.Download ? If yes, how ?

Context:

Wisej.NET 4 Web Application
.NET 8.0-windows
Microsoft Edge

 

  • You must to post comments
0
0

Hi Vincent,

I cannot reproduce on my end, works fine for both .NET 8.0 and .NET 8.0-windows.

Perhaps you can provide us with a reproducible test case?

Best,
Alaa

Attachment
  • You must to post comments
0
0

Hi Vincent,

What version of Wisej.NET 4 are you using?

Best,
Alaa

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.