IRIPercentEncode¶
IRI-aware percent-encoding for constructing IRIs from unencoded text.
Like PercentEncode, but preserves non-ASCII characters that are allowed
literally in IRIs per RFC 3987: ucschar codepoints in all components,
plus iprivate codepoints in the query component. Non-ASCII characters
outside these ranges are percent-encoded byte-by-byte.
ASCII encoding rules are identical to PercentEncode — the URIPart
parameter selects the same component-specific allowed characters.
Constructors¶
create¶
Returns¶
- IRIPercentEncode val^
Public Functions¶
apply¶
Percent-encode input for the given URI component, preserving
IRI-legal non-ASCII codepoints.
Parameters¶
Returns¶
- String val
eq¶
Parameters¶
- that: IRIPercentEncode val
Returns¶
- Bool val
ne¶
Parameters¶
- that: IRIPercentEncode val
Returns¶
- Bool val