[plt-scheme] URL encoding/decoding
Noel Welsh wrote:
> It appears not. E.g.
Hm. Reading some more.
What about string->html?
The doc says:
(string->html string) -> html-string
Converts a string into a html-string by applying
the approriate HTML quoting conventions.
Testing:
> (require (lib "cgi.ss" "net"))
ADVARSEL: Interaktionsvinduet er ude af trit med definitionsvinduet.
Klik på Kør.
> (string->html "jens axel")
"jens axel"
Huh? No %20?
I must have missed something.
Another option is to steal the code from Nørmarks LAML (which
runs fine on MzScheme):
http://www.cs.auc.dk/~normark/scheme/distribution/laml/lib/man/encode-decode
.html
--
Jens Axel Søgaard