appendUriEscaped

fun appendUriEscaped(unescaped: String, reservedCharsAllowed: String, allowUtf8: Boolean): String

Appends @unescaped to @string, escaping any characters that are reserved in URIs using URI-style escape sequences.

Return

@string

Since

2.16

Parameters

unescaped

a string

reservedCharsAllowed

a string of reserved characters allowed to be used, or null

allowUtf8

set true if the escaped string may include UTF8 characters