>
> FS126 is not just about escaping strings, it's about getting URLs (see
> RFC1738). For example, a URL for a file accesible through the HTTP
> protocol in the web will have a http:// scheme; a local file will have a
> file:// scheme... (so not only escaping involved).
>
> Don't only look at g_uri_escape_string(), that's also only for escaping;
> I really meant g_file_get_uri() or g_file_new_from_uri() for example.
>
> Probably wget has also an implementation of this, so it's worth checking
> to see if we can reuse it.
>
>
Thanks for inputs, this is what i was looking for since i could see the
escaping function doesn't implement what is needed for.

wget has an implementation but Jose said he is talking to wget maintainer
for a gnulib patch.

Meanwhile if there has been no activity on the gnulib patch, i will work on
porting the wget patches into a full blown function like
g_file_get_uri()

Reply via email to