Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > set dynamicly request.contentencoding

Reply
Thread Tools

set dynamicly request.contentencoding

 
 
Allaigre David
Guest
Posts: n/a
 
      07-28-2004
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.


 
Reply With Quote
 
 
 
 
Egbert Nierop \(MVP for IIS\)
Guest
Posts: n/a
 
      07-28-2004
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" <(E-Mail Removed)> wrote in message
news:41075cca$0$29373$(E-Mail Removed)...
> 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.
>
>


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Dynamicly loading a user control Ben ASP .Net 0 05-04-2004 03:07 PM
Dynamicly get the form name at server =?Utf-8?B?WWFuaXI=?= ASP .Net 1 04-19-2004 05:35 PM
Dynamicly change ValueToCompare on a CompareValidator Henke ASP .Net 0 02-26-2004 02:08 PM
CSS doesn't work on dynamicly added user controls Henke ASP .Net 5 12-30-2003 04:58 PM
Problem with Eventhandlers dynamicly created MobileControls Kristof Pauwels ASP .Net 1 07-27-2003 07:29 AM



Advertisments