Author: oscarmax2 | Posted on: 4/1/2009 6:05:11 AM | Views : 485

Hello,
I would presume that this question has been asked many times and I've read a couple of posts of it but no solution. I have an application that handles files in a database - these file a user can download and this is working perfect
doing the BinaryWrite way.

Response.ContentType = "application/x-unknown";

Response.AddHeader("Content-Disposition", "attachment;filename=\"" + Filename + "\"");

byte[] data = file.Filedata;

Response.BinaryWrite(data);
Response.End();
The problem is that the Filename doesn't display the correct Chars - in this case swedish letters Å Ä and Ö. At first hand I thought that this should be an small thing to fix but it seems that this is impossible.
I saw some one doing an URLEncode and then replacing th ...

Go to the complete details ...