Re: query string

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Curt_C [MVP] (software_AT_darkfalz.com)
Date: 06/01/04


Date: Tue, 1 Jun 2004 09:36:05 -0500

few ways, one might be to store the vlue in a DB and pass the ID, then
retirieve it

-- 
Curt Christianson
Owner/Lead Developer, DF-Software
Site: http://www.Darkfalz.com
Blog: http://blog.Darkfalz.com
"Jorge Ribeiro" <anonymous@discussions.microsoft.com> wrote in message
news:8ECCDE1C-BB29-4587-8E32-9DDD16F8ECE7@microsoft.com...
> hello
>
> I've an ASP.Net page that, by the action of one submit button, redirects
from one Web form to another passing
> in the query string one value that will be processed in the later web
form.
> So far so good.
>
> My question derives from the fact that, because I'm using portuguese
keyboard layout and language, some special characters cannot be passed on
the query string unless I escape them...
>
> To eliminate this, on the onclick event of the button I've an instruction
that redirects to another page passing the value
> escaped using the function escape of javascript.
> But when in ASP.Net code behind I try to access that key whose value whas
escaped those special characters disappear.
>
> Example: imagine that my button has something like this...
onClick="window.location='home.aspx?key=diário'"
> when in code behind of home.aspx i try to access my key using
request.querystring.get("key") the value returned omits the third
> character wich is a portuguese special character...
>
>
> can you help me here?!?!
> best regards


Relevant Pages

  • query string
    ... My question derives from the fact that, because I'm using portuguese keyboard layout and language, some special characters cannot be passed on the query string unless I escape them... ... on the onclick event of the button I've an instruction that redirects to another page passing the value ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Serial Port Errors
    ... the special characters can be guaranteed to always represent the ... - pick 0x7d as the escape character ... in the data there are no input bytes producing either the flag or the ... PPP even uses the HDLC headers, ...
    (comp.os.linux.embedded)
  • Re: transposing fields with sed or awk
    ... The input blog file contains links of the form: ... The output format of the link is: ... I always find I can't see the wood for the trees once starting to escape ... special characters. ...
    (comp.unix.shell)
  • Re: DataView RowFilter problem
    ... Review the following page on how to "Escape" the characters. ... Basically you need to put a \ before any of the special characters, ... I use string concatenation ...
    (microsoft.public.dotnet.framework.adonet)
  • Re: Getting Umlauts from QueryString
    ... the query string seems to be stripping out the special ... > that special characters are not stripped out in the query string? ... request instead, it should be much more robust. ...
    (microsoft.public.dotnet.languages.csharp)