set dynamicly request.contentencoding

Discussion in 'ASP General' started by Allaigre David, Jul 28, 2004.

  1. I'm trying to retreive some information from the querystring. The web site
    is as default configure in "utf-8".

    But on only one page i need to change dynamicly the contentEncoding to
    retreive information send by an ActiveX component in iso-8859-1 format.

    Iv' try to put this code in my page :
    Request.ContentEncoding = System.Text.Encoding.GetEncoding("iso-8859-1")

    But nothing happens.

    Thanks to all who can help me

    David.
     
    Allaigre David, Jul 28, 2004
    #1
    1. Advertising

  2. You also need
    Response.CharSEt = "iso-8859-1"
    Cheers

    --
    compatible web farm Session replacement for Asp and Asp.Net
    http://www.nieropwebconsult.nl/asp_session_manager.htm

    "Allaigre David" <> wrote in message
    news:41075cca$0$29373$...
    > I'm trying to retreive some information from the querystring. The web site
    > is as default configure in "utf-8".
    >
    > But on only one page i need to change dynamicly the contentEncoding to
    > retreive information send by an ActiveX component in iso-8859-1 format.
    >
    > Iv' try to put this code in my page :
    > Request.ContentEncoding = System.Text.Encoding.GetEncoding("iso-8859-1")
    >
    > But nothing happens.
    >
    > Thanks to all who can help me
    >
    > David.
    >
    >
     
    Egbert Nierop \(MVP for IIS\), Jul 28, 2004
    #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. Brian Birtle
    Replies:
    2
    Views:
    2,098
    John Saunders
    Oct 16, 2003
  2. Calvin Lai
    Replies:
    6
    Views:
    20,919
    Joerg Jooss
    Dec 31, 2003
  3. Per Bolmstedt
    Replies:
    0
    Views:
    430
    Per Bolmstedt
    Mar 3, 2004
  4. Ricky K. Rasmussen

    Set Request.ContentEncoding from code?

    Ricky K. Rasmussen, May 11, 2004, in forum: ASP .Net
    Replies:
    8
    Views:
    6,188
    Steven Cheng[MSFT]
    May 28, 2004
  5. =?Utf-8?B?UGF1bCBQaGlsbGlwcw==?=

    How to set the ContentEncoding of the HTTPWebRequest object

    =?Utf-8?B?UGF1bCBQaGlsbGlwcw==?=, Jun 23, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    2,339
    Winista
    Jun 23, 2006
Loading...

Share This Page