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

693

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 4 years ago
  • Sunny Solu

Your Answer

    Facebook Share        
       
  • asked 4 years ago
  • viewed 693 times
  • active 4 years ago

Hot Questions