pub fn ContentToString(content: &[u8]) -> Result<String>
Convert content to UTF-8 string with error handling