Function |from_utf8

std/text/convert/string::|from_utf8


Usage

|from_utf8(encoded)

Parameters

↳ encoded: Vec<byte>

Return

↴ string


Converts vector of bytes into a string according to UTF-8 encoding.

If any sequence of bytes doesn't follow UTF-8 encoding, it is replaced by the U+FFFD REPLACEMENT CHARACTER (ďż˝).