Changing request encoding

Joined
Sep 3, 2009
Messages
1
Reaction score
0
In code behind i need to change Request.ContentEncoding to ISO-8859-1 by default it is UTF-8. I'm getting from form symbols like "öäüõ" and i can see they only if encoding is ISO-8859-1. it's no my form so i cant change it so i need to change my encoding. Cant use web.config because using <globalization requestEncoding="ISO-8859-1"/> will break everything where i use my projekt forms.

I tryed to change encoding in Page_Load event but it didnt affect nothing. Is there any other place where i can change encoding before actual reading it?
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top