• support@answerspoint.com

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

1723

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

Your Answer

    Facebook Share        
       
  • asked 8 years ago
  • viewed 1723 times
  • active 8 years ago

Best Rated Questions