pub fn read_file_encoded(path: &Path, encoding: &str) -> Result<String>Expand description
Read file content with a specified encoding. Supports any encoding label recognized by the Encoding Standard (e.g., “utf-8”, “latin-1”, “iso-8859-1”, “windows-1252”, “ascii”).