[REBOL] Re: to-url
From: al:bri:xtra at: 6-Jan-2003 16:59
Carl's got it right here.
Andrew Martin
ICQ: 26227169 http://valley.150m.com/
-><-
----- Original Message -----
From: "Carl Read" <[carl--cybercraft--co--nz]>
To: <[rebol-list--rebol--com]>
Sent: Monday, January 06, 2003 3:56 PM
Subject: [REBOL] Re: to-url
> On 06-Jan-03, Tim Johnson wrote:
> > Hello :
> > I have some questions about to-url here:
> > supose I want to create a query-string in a url
> > that has letters like "?=&" inside of
> > the values.
> >>> to-url "Father & sons"
> > == Father & sons
> > ;yikes, shouldn't we get Father %26 son ('&' is hex 26, right?)
> > ; decoding this will give incorrect results, I think...
>
> > Comments and suggestions welcome
>
> I just searched google for "a & b" to see how it'd make its URL, and
> this is what it returned...
>
http://www.google.co.nz/search?q=a+%26+b&ie=ISO-8859-1&hl=en&btnG=Google+Sea
rch