National characters in response

  • Thread starter Peter Hemmingsen
  • Start date
P

Peter Hemmingsen

Hi,

I've an asp.net (cs code behind) application where I want the user to be
able to download a file with national (danish) characters.

Ex:

Response.Clear(); // clear the current output content from the buffer

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

Response.Write("æøå"); // Danish characters
Response.End();

When I look at this file in an editor the national characters are wrong
(funny graphic chars).

Any suggestions?

Peter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,265
Messages
2,571,069
Members
48,771
Latest member
ElysaD

Latest Threads

Top