pub fn decode_string(raw: &str) -> Result<String, ValueError>Expand description
Decodes the raw text of a string value.
The function replaces each escape sequence of the key file with its
character: \s with a space, \t with a tab, \n with a newline, \r
with a carriage return, \\ with a backslash, and \; with a ;.
KeyFile::get_string reads a value in the same way.
ยงErrors
A ValueError with the text of KeyFile::get_string if the text
holds a backslash that starts no escape sequence.