(web uri) can uri-decode non-utf-8 payloads
authorAndy Wingo <wingo@pobox.com>
Sat, 11 Dec 2010 18:14:58 +0000 (19:14 +0100)
committerAndy Wingo <wingo@pobox.com>
Sat, 11 Dec 2010 18:19:41 +0000 (19:19 +0100)
commitc7857da63ada7449ab18834b8f2f17e07bd6d728
tree53330c44bc578777be1a8264cdd3ff099865ec96
parent9582b26c62b7c64f08cfda9362d6e3a970936d2c
(web uri) can uri-decode non-utf-8 payloads

* module/web/uri.scm (call-with-encoded-output-string, encode-string):
  Copy from server.scm
  (decode-string): Copy from tekuti.
  (uri-decode): The #:charset arg is a string, like
  port-encoding. Support other charsets.
  (uri-encode): Charset is a string. Other encodings still not nicely
  supported. Hmm.
module/web/uri.scm