set dynamicly request.contentencoding

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Allaigre David

    set dynamicly request.contentencoding

    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.Content Encoding = System.Text.Enc oding.GetEncodi ng("iso-8859-1")

    But nothing happens.

    Thanks to all who can help me

    David.


  • Egbert Nierop \(MVP for IIS\)

    #2
    Re: set dynamicly request.content encoding

    You also need
    Response.CharSE t = "iso-8859-1"
    Cheers

    --
    compatible web farm Session replacement for Asp and Asp.Net


    "Allaigre David" <news@allaigre. com> wrote in message
    news:41075cca$0 $29373$626a14ce @news.free.fr.. .[color=blue]
    > 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.Content Encoding = System.Text.Enc oding.GetEncodi ng("iso-8859-1")
    >
    > But nothing happens.
    >
    > Thanks to all who can help me
    >
    > David.
    >
    >[/color]

    Comment

    Working...