URI encoding

Tom Whitcomb thomaswhitcomb@REDACTED
Thu Apr 20 01:46:11 CEST 2006

Simon Aurell <simon@REDACTED> wrote:

>There are two functions in yaws_api for this. From the documentation:
>    url_decode(Str)
>              Decode url-encoded string. A URL ncoded string is a string where
>              all alfa numeric characters and the the  character  _  are  pre-
>              served  and all other characters are encode as "%XY" where X and
>              Y are the hex values of the least respective most  significat  4
>              bits in the 8 bit character.
>       url_encode(Str)
>              Url-encodes  a  string.  All  URLs in HTML documents must be URL
>              encoded.
>Tom Whitcomb wrote:
>>Is there a function for encoding/decoding URIs (ietf rfc 2396)?  I looked through the online http, httpd and httpd_util modules definitions and couldn't find one.

Thanks.  It's perfect.


Switch to Netscape Internet Service.
As low as $9.95 a month -- Sign up today at http://isp.netscape.com/register

Netscape. Just the Net You Need.

New! Netscape Toolbar for Internet Explorer
Search from anywhere on the Web and block those annoying pop-ups.
Download now at http://channels.netscape.com/ns/search/install.jsp

More information about the erlang-questions mailing list