Perl: search for 8bit characters in lines from a text file

I'm trying to figure out the best way to search for 8bit characters in a line of data in a text file, but I'm not sure if I'm doing it right or not.  The one test I'm doing is this:

if($line =~ /\x8E/) {

I don't have access to the Encode::Unicode perl module, so I can't put that in my script.  Is the above the correct way to search for 8bit characters in a line?
Who is Participating?
To search for unicode, you can match \x{3FB} or whatever.
yes. That should work fine
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.