[hunchentoot-devel] url-decode with Unicode text

Andrei Stebakov lispercat at gmail.com
Wed Sep 3 18:32:51 UTC 2008


Yes, it's there, I tried it but for some reason I get an exception on lisp
side when the whole URI is encoded.
Then I started to use encodeURIComponent() with which I only encode the text
part of the GET request. This works, only it messes up some of the
non-standard characters.

On Wed, Sep 3, 2008 at 1:57 PM, Edi Weitz <edi at agharta.de> wrote:

> On Wed, 3 Sep 2008 12:37:16 -0400, "Andrei Stebakov" <lispercat at gmail.com>
> wrote:
>
> > Well, encodeURIComponent used for text only part solves the
> > non-standard language problem (strange characters, but no lisp
> > exception), but it messes up some characters which are handled
> > properly by escape() function (i.e "Ciarán" is handled by escape()
> > but not encodeURIComponent()).
>
> The Wiki page mentioned a function called encodeURI.  That's not
> there?
> _______________________________________________
> tbnl-devel site list
> tbnl-devel at common-lisp.net
> http://common-lisp.net/mailman/listinfo/tbnl-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/tbnl-devel/attachments/20080903/269022e0/attachment.html>


More information about the Tbnl-devel mailing list