URL encoding: Difference between revisions

Content added Content deleted
No edit summary
(→‎{{header|Vlang}}: Rename "Vlang" in "V (Vlang)")
Line 1,808: Line 1,808:
<pre>http%3A%2F%2Ffoo%20bar%C3%A9%2F</pre>
<pre>http%3A%2F%2Ffoo%20bar%C3%A9%2F</pre>


=={{header|Vlang}}==
=={{header|V (Vlang)}}==
<syntaxhighlight lang="vlang">import net.urllib
<syntaxhighlight lang="v (vlang)">import net.urllib
fn main() {
fn main() {
println(urllib.query_escape("http://foo bar/"))
println(urllib.query_escape("http://foo bar/"))