pub fn encode_character_string(buf: &mut BytesMut, value: &str)
Encode a UTF-8 character string with leading charset byte.