473,396 Members | 1,770 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

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.ContentEncoding = System.Text.Encoding.GetEncoding("iso-8859-1")

But nothing happens.

Thanks to all who can help me

David.
Jul 19 '05 #1
1 3758
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" <ne**@allaigre.com> wrote in message
news:41***********************@news.free.fr...
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.


Jul 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Programmer | last post by:
Hi all How can I add a text object on an Crystal Report dynamicly??? I have an aspx page that loads the report but i cant find the methods to insert new Items on the rpt Can anyone help me...
6
by: Calvin Lai | last post by:
Does anyone know the difference and usage of them? Great thanks!
2
by: Wootaek Choi | last post by:
Hi everybody. I have a webapplication that use UTF-8 for request & response encoding. but.. One aspx page should get request with other encoding(ks_c_5601-1987), and response with utf-8 (...
0
by: Per Bolmstedt | last post by:
In my web.config, the default requestEncoding is set to X. However, I have a web form to which I know that Y encoded data will sometimes be POSTed. This data will be garbled when accessed...
8
by: Ricky K. Rasmussen | last post by:
Hello NG, I'm having some encoding trouble using my own RequestHandler: Since the RequestHandler must be able to serve content with diffrent encoding, I set the Response.Charset and...
3
by: Axel Dahmen | last post by:
Hi, I've created an aspx page taking a query string argument as parameter. Although I've correctly escaped umlauts in the query string, they do not appear in the QueryString collection. If I...
2
by: Wayne Sepega | last post by:
I have the following Code: foreach (MyClass d in myClassCollection) { curRadioBtn = new RadioButton(); curRadioBtn.Text = d.ToString(); curRadioBtn.GroupName = "Contact"; curRadioBtn.ID =...
4
by: GS | last post by:
Hi, I dynamicly add custom control in SelectedIndexChanged even of GridView which is firing after Page_Load. My control is not being rendered to page becouse of that (I assume). How to avoid this...
1
by: Paul Phillips | last post by:
Has anyone been able or is having trouble with setting the Content-Encoding to a value in the headers collection of an HTTPWebRequest object. I am trying to post a RosettaNet message to a trading...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.