WPDev.one
Core Function
View Source on Trac ↗

seems_utf8()

seems_utf8( mixed $str )

Checks to see if a string is utf8 encoded.

Parameters 1 required

Name / Type Description
$str
string

The string to be checked.

Required

Return Value

(bool)
True if $str fits a UTF-8 model, false otherwise.

Function Information

Since Version
1.2.1
Source File
wp-includes/formatting.php
Advertisement