Converts an escaped ASCII-encoded URI to a local filename in the
encoding used for filenames.
Since GLib 2.78, the query string and fragment can be present in the URI,
but are not part of the resulting filename.
We take inspiration from https://url.spec.whatwg.org/#file-state,
but we don't support the entire standard.
Parameters
uri: string
a uri describing a filename (escaped, encoded in ASCII).
Returns [string,string]
a newly-allocated string holding the resulting filename, or null on an error.
Converts an escaped ASCII-encoded URI to a local filename in the encoding used for filenames.
Since GLib 2.78, the query string and fragment can be present in the URI, but are not part of the resulting filename. We take inspiration from https://url.spec.whatwg.org/#file-state, but we don't support the entire standard.