Technical Docs

Search Documentation

Function: tribe_detect_encoding

Detects multibyte encoding if the function is available, returns false if not

Located at src/functions/multibyte.php (Line: 19)

Parameters summary

(string) $string the string to detect encoding of

Return value summary

(string) the mb encoding of the string false if the function is not available or the encoding cannot be determined
(bool) the mb encoding of the string false if the function is not available or the encoding cannot be determined

Examples

string|bool tribe_detect_encoding ( string $string )