My application uploads unicode file from client to server and storing in the database is done correctly. Encoding is kept. The file name is also well displayed in the page including the diacritics. My problem is with downloading the file - the file name is broken, however, file content is ok.
--- Sending from server to client ---
string fileName = ...
byte[] bytes = ...
Page.Response.Clear();
Page.Response.AddHeader("content-disposition", "attachment;filename=" + fileName);
Page.Response.OutputStream.Write(bytes, 0, bytes.Length);
Page.Response.End();
Can you please advise where the problem can be?