URIToIRI¶
Convert a URI to an IRI by selectively decoding percent-encoded UTF-8 sequences that represent allowed IRI characters.
Percent-encoded sequences that decode to valid UTF-8 ucschar codepoints
(RFC 3987 section 2.2) are replaced with their literal UTF-8 bytes. In the
query component, iprivate codepoints are also decoded. Bidi formatting
characters (U+200E, U+200F, U+202A-202E) always stay percent-encoded per
RFC 3987 section 4.1.
Sequences that don't form valid UTF-8, or decode to codepoints outside the allowed ranges, remain percent-encoded. Always succeeds.
Constructors¶
create¶
Returns¶
- URIToIRI val^
Public Functions¶
apply¶
Parameters¶
- uri: URI val
Returns¶
- URI val
eq¶
Parameters¶
- that: URIToIRI val
Returns¶
- Bool val
ne¶
Parameters¶
- that: URIToIRI val
Returns¶
- Bool val