• support@answerspoint.in

How to check a String or character is a Unicode character or not with PHP?

44
Advertisement

How to check a String or character is a Unicode character or not with PHP?

Hi i want to find any character or string is a Unicode or not

1Answer


0

I found it more useful to detect if any character falls out of the list

if(preg_match('/[^\x20-\x7f]/', $string))
  • answered 10 years ago
  • Sunny Solu

Your Answer

    Facebook Share        
       
  • publish 10 years ago
  • viewed 44 times
  • active 10 years ago

Best Rated Questions