Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Changing request encoding

Thread Tools

Changing request encoding

jetcar jetcar is offline
Junior Member
Join Date: Sep 2009
Posts: 1
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?
Reply With Quote

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
Reading Text File Encoding and converting to Perls internal UTF-8 encoding Perl Misc 2 04-17-2009 11:22 PM
changing JVM encoding; setting -Dfile.encoding doesn't work Java 1 10-08-2004 09:50 PM
Encoding.Default and Encoding.UTF8 Hardy Wang ASP .Net 5 06-09-2004 04:04 PM
Re: Accessing Request.InputStream / Request.BinaryRead *as the request is occuring*: How??? Brian Birtle ASP .Net 2 10-16-2003 02:11 PM
Changing request encoding Philip Crooks ASP .Net Web Services 0 07-11-2003 11:02 AM