seems_utf8


seems_utf8 ( $str )

Parameters:
  • (string) $str The string to be checked
Returns:
  • (bool) True if $str fits a UTF-8 model, false otherwise.
Defined at:

Description

Checks to see if a string is utf8 encoded.

NOTE: This function checks for 5-Byte sequences, UTF8 has Bytes Sequences with a maximum length of 4.

Related Functions

kses_init, screen_layout, _search_terms_tidy

Top Google Results

User discussions

wpseek mobile