Response.Write and Swedish characters?

Discussion in 'ASP .Net' started by Fredrik Melin, Nov 18, 2003.

  1. 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
    Fredrik Melin, Nov 18, 2003
    #1
    1. Advertising

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

    But still wonder about the other question.

    - Fredrik

    "Fredrik Melin" <> wrote in message
    news:...
    > 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
    >
    >
    Fredrik Melin, Nov 18, 2003
    #2
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Henke
    Replies:
    5
    Views:
    660
    Henke
    Oct 19, 2004
  2. Luigi Donatello Asero

    Site map about the Swedish main pages.

    Luigi Donatello Asero, Dec 1, 2005, in forum: HTML
    Replies:
    4
    Views:
    348
    Hywel Jenkins
    Dec 2, 2005
  3. Wes-Securitas

    Swedish characters not displayed in datagrid

    Wes-Securitas, Jul 19, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    153
    Wes-Securitas
    Jul 19, 2004
  4. Bo Wiklund

    Web Service and Swedish Character Encoding

    Bo Wiklund, Sep 22, 2003, in forum: ASP .Net Web Services
    Replies:
    0
    Views:
    174
    Bo Wiklund
    Sep 22, 2003
  5. David Hag
    Replies:
    1
    Views:
    113
    Gunnar Hjalmarsson
    Dec 16, 2003
Loading...

Share This Page