Response.Write and Swedish characters?

  • Thread starter Thread starter Fredrik Melin
  • Start date Start date
F

Fredrik Melin

Hi,

I get all kind of strange characters when using Response.Write on swedish
characters (ÅÄÖ)

Like the word PÅ becomes PÃ.

What do I need to do to get it to output the correct character to the
browser.


Ps: I know response.write isnt supposed to be used in ASP.NET applications,
but what else does print at the moment when you write it? Eg, in a thread I
loop through objects, at each object I want to output a string to the
screen, tried literals but they dont output until page_load is completed.

- Fredrik
 
Nevermind about the swedish chars, setting charset to utf-8 works.

But still wonder about the other question.

- Fredrik
 
Back
Top