@neauoire How does it know a file isn't just text with special characters?
@ddlyh if it sees a null byte before reaching the end of the file, then it's a binary file.
@neauoire Clever
@ddlyh if it sees a null byte before reaching the end of the file, then it's a binary file.