• support@answerspoint.com

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

489

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

Your Answer

    Facebook Share        
       
  • asked 3 years ago
  • viewed 489 times
  • active 3 years ago

Hot Questions