I have a bunch of Arabic, English, Russian files which are encoded in utf-8. Trying to process these files using a Perl script, I get this error:
Malformed U
cat foo.txt | strings -n 8 > bar.txt
will do the job.