Changing request encoding
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?
|All times are GMT. The time now is 03:29 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.