URL encoding

2001-11-21 Thread Thoren Johne
hi, i have problem with the URL encoding capabilities of embperl. assuming this code: [- $name = 'mein name'; $myhash = { t1 => 'hallo welt', t2 => 'umlaut ä' } -] [- $escmode = 0 -] escmode 0 escmode 0 [- $escmode = 1 -] escmode 1 escmode 1 [- $escmode =

Re: URL encoding

2001-11-20 Thread Gerald Richter
> > > > it is "mein%20name" which is perfectly correct url encoded. > > hmm... RFC1630 says: > > | QUERY STRINGS > | [...] > | Within the query string, the plus sign is reserved as shorthand > | notation for a space. Therefore, real plus signs must be encoded. > | This method was used to make

Re: URL encoding

2001-11-20 Thread Thoren Johne
- Original Message - From: "Gerald Richter" <[EMAIL PROTECTED]> To: "Thoren Johne" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Tuesday, November 20, 2001 3:05 PM Subject: Re: URL encoding > > escmode 3 > > escmode 3 > > >

Re: URL encoding

2001-11-20 Thread Gerald Richter
hi, > escmode 3 > escmode 3 > > you see - the 'name=mein+name' never appears, it is "mein%20name" which is perfectly correct url encoded. >also > the hash is never correct expanded - the umlaut 'ä' is not > encoded. > ä doesn't need to be encoded in a URL, you could write it as ä, but the brow

URL encoding

2001-11-20 Thread Thoren Johne
hi, i have problem with the URL encoding capabilities of embperl. assuming this code: [- $name = 'mein name'; $myhash = { t1 => 'hallo welt', t2 => 'umlaut ä' } -] [- $escmode = 0 -] escmode 0 escmode 0 [- $escmode = 1 -] escmode 1 escmode 1 [- $escmode =