I have a big file which contains some non ascii chars. I need to find out those records. Note: I am not able to open the file using Notepad++ etc.
I tried something like this from cmd : >findstr /R /N "[^\x00-\x7F]" Test.txt
But this is returning extra rows which doesn't contain non ascii chars
Example of the chars: �
Test.txt contains:
�
asdf
sdf asd
1231 sdfg dfg
Result:
1: ∩┐╜ ►←→ ☼ --Expected row
3:sdf asd --Unexpected row
4:1231 sdfg dfg --Unexpected row