Encodes a string according to RFC 3986 specifications.
This function first applies encodeURIComponent to the input string, then further encodes the characters !, *, (, ), and ' to ensure full compliance with RFC 3986.
encodeURIComponent
!
*
(
)
'
The input string to encode.
The RFC 3986-compliant encoded string.
https://tools.ietf.org/html/rfc3986
1.1.6
2021-12-07
Encodes a string according to RFC 3986 specifications.
This function first applies
encodeURIComponentto the input string, then further encodes the characters!,*,(,), and'to ensure full compliance with RFC 3986.