Skip to main content

string_try_decode_with

Function string_try_decode_with 

Source
pub fn string_try_decode_with(
    src: &[u8],
    encoding_name: &str,
) -> RUMResult<RUMString>
Expand description

Implements decoding this string from a specific encoding to UTF-8.

Note => Decoding is facilitated via the crates chardet-ng and encoding_rs.