[erlang-questions] Url decoding
Loïc Hoguin
essen@REDACTED
Fri Jul 1 12:50:43 CEST 2011
On 07/01/2011 11:10 AM, Carlo Bertoldi wrote:
> Hello again,
> I believe this is a quite common problem, but I couldn't find an
> answer to my problem.
> I'd like to URL encode/decode strings.
> Encoding: edoc_lib:escape_uri("hello hello"). Perfect, but how can I go
> back to the original string now?
> Is it possible to do it without using external libs, as those found in
> Yaws, or ibrowse? or I'll have to include one of those in my project?
You could use ex_uri as a rebar dependency if you're using rebar:
https://github.com/extend/ex_uri
--
Loïc Hoguin
Dev:Extend
More information about the erlang-questions
mailing list