Skip to main content

decode_text

Function decode_text 

Source
pub fn decode_text(s: &str) -> String
Expand description

Decode a single TEXT value into a Rust String, interpreting the escape sequences above. Unknown escape sequences (\X for X not in the recognized set) pass through with the backslash preserved, so a future spec evolution can decide their meaning without a corrupting round-trip in the meantime.