Skip to main content

read_subtitle

Function read_subtitle 

Source
pub fn read_subtitle(path: &str) -> Result<String>
Expand description

严格 UTF-8(可带 BOM)读取并归一换行;非法字节 → corrupt。