Static mime::UTF_8[][src]

pub static UTF_8: Value = Value{source: "utf-8", ascii_case_insensitive: true,}

a Value usable for a charset parameter.

Example

let mime = "text/plain; charset=utf-8".parse::<Mime>().unwrap();
assert_eq!(mime.get_param(CHARSET), Some(UTF_8));