I have a bunch of text files I want to use with grep. They are all from an external source and are UTF-16 encoded and begin with a byte order mark.
Unix tools like grep don't work on them for me. What work-around is there for this?
Just use iconv(1) to change them to utf-8.
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