Closed joshuaclayton closed 3 years ago
Tags files, even those generated with universal ctags, can't guarantee they don't include non-UTF-8 characters.
This replaces the use of Rust's built-in std::fs::read_to_string with a lossy read, allowing tags files with non-UTF-8 characters to be parsed.
What?
Tags files, even those generated with universal ctags, can't guarantee they don't include non-UTF-8 characters.
This replaces the use of Rust's built-in std::fs::read_to_string with a lossy read, allowing tags files with non-UTF-8 characters to be parsed.