urlstd.parse.utf8_decode#

urlstd.parse.utf8_decode(b: bytes) str#

Decodes a byte sequence with utf-8 and returns its string.

If decoding fails, it will be replaced with U+FFFD.

Parameters:

b – A byte sequence to decode with utf-8.

Returns:

A utf-8 decoded string.