Returns value with each percent-encoded byte sequence decoded as UTF-8, for example 'dom%C3%A4ner' to
'domäner'.
Unlike decodeURIComponent, this method never throws. A % that is not followed by two hex digits is kept as it
is, and a byte sequence that is not valid UTF-8 becomes the replacement character U+FFFD.
Returns
valuewith each percent-encoded byte sequence decoded as UTF-8, for example'dom%C3%A4ner'to'domäner'.Unlike
decodeURIComponent, this method never throws. A%that is not followed by two hex digits is kept as it is, and a byte sequence that is not valid UTF-8 becomes the replacement character U+FFFD.Only one layer is decoded:
'%2525'becomes'%25'.