WordPress.org

Codex

Interested in functions, hooks, classes, or methods? Check out the new WordPress Code Reference!

Function Reference/seems utf8

Description

Checks to see if a string is utf8 encoded.

Usage

<?php seems_utf8$str ); ?>

Parameters

$str
(string) (required) The string to be checked
Default: None

Return Values

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

Examples

Notes

Change Log

Since: 1.2.1

Source File

seems_utf8() is located in wp-includes/formatting.php.

Related

See also index of Function Reference and index of Template Tags.