Module encoding::codec::utf_8 [] [src]

UTF-8, the universal encoding.

Structs

UTF8Decoder

A decoder for UTF-8.

UTF8Encoder

An encoder for UTF-8.

UTF8Encoding

UTF-8 (UCS Transformation Format, 8-bit).

Functions

from_utf8

Almost equivalent to std::str::from_utf8. This function is provided for the fair benchmark against the stdlib's UTF-8 conversion functions, as rust-encoding always allocates a new string.