transcode

Function transcode 

Source
pub fn transcode(
    input: &[u8],
    src_enc: CharEncoding,
    dst_enc: CharEncoding,
    line_ending_opt: LineEndingOption,
) -> Result<Vec<u8>>
Expand description

Transcodes bytes from one character encoding to another with optional line ending conversion.