G
Guest
Hi,
Our sites need to support utf-8 so web.config has both request and response
encoding set to utf-8. The problem is that Request.Querystring doesn't
support this and we've tried to find a solution in the newsgroups but
couldn't find one. The suggestions invole HttpUtility functions but
Request.Querystring has already tried to decode the querystring. Utf-8 is the
detault encoding in ASP.NET so it's strange that a url such as
www.mysite.com/default.aspx?q=sök
doesn't work. Request.Querystring("q") returns "sk" in this case.
Request.RawUrl returns the correct Url. Is there any way we can use
Request.Querystring for url parameters and UTF-8 encoding enabled? We're
passing the querystring using Javascript and have tried to escape it before
passing it in but Request.Querystring simplycuts away the international
characters
Thanks,
Manso
Our sites need to support utf-8 so web.config has both request and response
encoding set to utf-8. The problem is that Request.Querystring doesn't
support this and we've tried to find a solution in the newsgroups but
couldn't find one. The suggestions invole HttpUtility functions but
Request.Querystring has already tried to decode the querystring. Utf-8 is the
detault encoding in ASP.NET so it's strange that a url such as
www.mysite.com/default.aspx?q=sök
doesn't work. Request.Querystring("q") returns "sk" in this case.
Request.RawUrl returns the correct Url. Is there any way we can use
Request.Querystring for url parameters and UTF-8 encoding enabled? We're
passing the querystring using Javascript and have tried to escape it before
passing it in but Request.Querystring simplycuts away the international
characters
Thanks,
Manso