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?
texasreddogAsked:
Who is Participating?
 
mankowitzCommented:
To search for unicode, you can match \x{3FB} or whatever.
0
 
mankowitzCommented:
yes. That should work fine
0
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.