Skip to main content

encode_string

Function encode_string 

Source
pub fn encode_string(value: &str) -> String
Expand description

Encodes a string value as raw text.

The function escapes the value as KeyFile::set_string does, so decode_string gives the value again.