Answer the question
In order to leave comments, you need to log in
How to detect random ASCII characters?
You need to load the data of a very large size from a file and process it. There is a possibility that the processed data will contain ASCII text that should not be there. Is there any algorithm to check that the data being processed does not contain text?
Answer the question
In order to leave comments, you need to log in
In the general case, your task is not solved, because in large random data, there is a non-zero probability of finding any row. It all depends on the data, its format and what kind of lines and how they get there.
To identify potential strings in binary text, you can look, for example, at the strings utility from GNU binutils
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question