• support@answerspoint.com

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

1830

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 9 years ago
  • viewed 1830 times
  • active 9 years ago

Best Rated Questions