I want to do this:
findstr /s /c:some-symbol *
or the grep equivalent
grep -R some-symbol *
but I need the utility to autodetect files encoded in UTF-16 (and friends) and search them appropriately. My files even have the byte-ordering mark FFEE in them so I'm not even looking for heroic autodetection.
Any suggestions?
I'm referring to Windows Vista and XP.
findstr /s /c:some-symbol *
can be replaced with the following character encoding aware command:
for /r %f in (*) do @find /i /n "some-symbol" "%f"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With