Skip to main content

iriencode

Escape an IRI value for use in a URL.

def iriencode(
value: string
) - > string

Escape an IRI value for use in a URL.

Parameters

NameTypeDescription
valuestringThe Internationalized Resource Identifier (IRI) string to be escaped for URL compatibility

Returns

TypeDescription
stringThe URI-encoded string where non-ASCII characters are converted to their percent-encoded representation