pub fn to_writer_with_encoding<T: Serialize, W: Write>( value: &T, writer: W, encoding: &'static Encoding, ) -> Result<(), Error>
Write a properties file to a io::Write implementation using the provided encoding