Function |from_utf8

text/convert/char::|from_utf8


Usage

|from_utf8(encoded)

Parameters

↳ encoded: Vec<byte>

Return

Vec<char>


Converts vector of bytes into vector of char 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 (�).