Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 23, 2007 07:15 AM by vivek_iit
Member
3 Points
30 Posts
May 22, 2007 02:44 AM|LINK
In my web.config I defined globalization seeting like this:
How can I do solve this problem?
Thanks!
All-Star
17778 Points
3189 Posts
MVP
May 22, 2007 04:05 AM|LINK
You can put these settings in the Page directive for individual pages so that the web.config settings get overwritten for those pages. For e.g.;
<%Page requestEncoding="xx responseEncoding="yy" %>
Hope this helps,
Vivek
May 22, 2007 09:59 AM|LINK
I can do it for ResposndeEncoding but there is no property RequestEncoding for Page directive.
Any other ideas?
May 22, 2007 10:15 AM|LINK
You can use the Request object like:
Request.ContentEncoding = Encoding.GetEncoding(xxx);
May 22, 2007 11:32 PM|LINK
No, it doesn't help, but thanks anyway.
I'm still trying to solve this problem.
May 23, 2007 07:15 AM|LINK
I hope that you are changing the Request objects Encoding property in the code, not in the ASPX. Check out this link for details:
http://www.velocityreviews.com/forums/t111390-problem-with-page-requestencoding.html
cemmec
Member
3 Points
30 Posts
Change requestenconding
May 22, 2007 02:44 AM|LINK
In my web.config I defined globalization seeting like this:
<globalization requestEncoding="iso-8859-1" responseEncoding="iso-8859-1"/> I need to change this setting for only one aspx page to use UTF-8.How can I do solve this problem?
Thanks!
vivek_iit
All-Star
17778 Points
3189 Posts
MVP
Re: Change requestenconding
May 22, 2007 04:05 AM|LINK
You can put these settings in the Page directive for individual pages so that the web.config settings get overwritten for those pages. For e.g.;
<%Page requestEncoding="xx responseEncoding="yy" %>
Hope this helps,
Vivek
Communifire: Social Networking and Business Collaboration Platform
cemmec
Member
3 Points
30 Posts
Re: Change requestenconding
May 22, 2007 09:59 AM|LINK
I can do it for ResposndeEncoding but there is no property RequestEncoding for Page directive.
Any other ideas?
Thanks!
vivek_iit
All-Star
17778 Points
3189 Posts
MVP
Re: Change requestenconding
May 22, 2007 10:15 AM|LINK
You can use the Request object like:
Request.ContentEncoding = Encoding.GetEncoding(xxx);
Hope this helps,
Vivek
Communifire: Social Networking and Business Collaboration Platform
cemmec
Member
3 Points
30 Posts
Re: Change requestenconding
May 22, 2007 11:32 PM|LINK
No, it doesn't help, but thanks anyway.
I'm still trying to solve this problem.
Thanks!
vivek_iit
All-Star
17778 Points
3189 Posts
MVP
Re: Change requestenconding
May 23, 2007 07:15 AM|LINK
I hope that you are changing the Request objects Encoding property in the code, not in the ASPX. Check out this link for details:
http://www.velocityreviews.com/forums/t111390-problem-with-page-requestencoding.html
Vivek
Communifire: Social Networking and Business Collaboration Platform