Skip to main content

decode_text

Function decode_text 

Source
fn decode_text(bytes: &[u8], part: &Leaf, html: bool) -> String
Expand description

The start of a text part, decoded as Sioul reads mail: its transfer encoding and charset undone by mail-parser, which forgives a part cut short. HTML stays HTML: what is visible is read from it at training.