[lang-ref] ( encode_uri_for_query ) ( kotlin )

@Test
fun encodeUriForQuery() {
	// URLEncoder.encode
	val s = URLEncoder.encode("a b/c", StandardCharsets.UTF_8)
	assertEquals("a+b%2Fc", s)
}