Treatment fromUtf8

std/text/convert/string::fromUtf8


Inputs

⇥ encoded: Stream<byte>

Outputs

↦ text: Stream<string>


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