Ask a Question related to ASP.NET General, Design and Development.
-
[MSFT]Allen #1
RE: Response.Redirect and national characters
IIS needs codepage information for decoding the URL. It may not work if you
just pass the URL itself that is encoded with UTF-8(as setting in
web.config).
Try setting appropriate codepage for the page you call Response.Redirect
like below:
<%@ codepage = 60005 %>
<%
Response.Redirect ("http://v-kspark10/????/WebForm1.aspx")
%>
and save the page as UTF-8 (60005). Those question marks stand for national
characters.
Or, use HttpUtility.UrlEncodeUnicode instead.
Response.Redirect("http://localhost/"+HttpUtility.UrlEncodeUnicode("???/yy.a
spx"))
HTH,
-Allen
Disclaimer:
This posting is provided "AS IS" with no warranties, and confers no rights.
Got .Net? [url]http://www.gotdotnet.com[/url]
--------------------
| From: "Erik P. Vinther" <epv@scandihealth.com>
| Subject: Response.Redirect and national characters
| Date: Wed, 6 Aug 2003 12:43:52 +0200
| Lines: 15
|
| Hi,
|
| From a C# code behind I have to redirect a request to my aspx page. The
| redirect URL contains danish national characters, i.e. "?, and the
redirect
| simply does not work.
|
| If I type the URL directly into the adress field of the browser it works
| fine.
|
| Anyone know what to do?
|
| Thansk
| Erik
|
|
|
[MSFT]Allen Guest
-
Keyboard Input of national characters in Flashapplications does not work.
It is impossible to type national characters using keyboard in applications based on Flash Player 7,0,25,0 plugin for Linux. How to simulate this... -
response.redirect
I use Respose.Redirect quite a bit but on one of my pages it has an odd behavior. Any time I use it on this page it will come up in a new Window. I... -
Response.Flush / Response.Redirect
Hi, I've had a good google and can't find anything already on this so : I'm currently trying to have a 'Page Loading' page on a site. The way... -
Response.Write and Response.Redirect
On my Page_Load event, i need to do some validation and then either let them proceed, or display a error message and boot them back to the previous... -
Redirect to New Browser Window like Response.Redirect
That worked just fine for me as long as you put that open statement on one line rather than 2. "michel" <michely3k@yahoo.com> wrote in...



Reply With Quote

