src/Kisma/Core/Utility/Scalar.php
public static function mbSupported( $string = null )
    {
        $_encoding = false;

        if ( !function_exists( 'mb_strwidth' ) || ( $string && false === ( $_encoding = mb_detect_encoding( $string ) ) ) )
        {
            return false;
        }

        return $_encoding;
    }
public static function mbSupported( $string = null )
    {
        $_encoding = false;

        if ( !function_exists( 'mb_strwidth' ) || ( $string && false === ( $_encoding = mb_detect_encoding( $string ) ) ) )
        {
            return false;
        }

        return $_encoding;
    }
public static function mbSupported ( $ string = null ) { $ _encoding = false ; if ( ! function_exists ( 'mb_strwidth' ) || ( $ string && false === ( $ _encoding = mb_detect_encoding ( $ string ) ) ) ) { return false ; } return $ _encoding ; }
Checks if multi-byte is available and returns encoding of optional string. False otherwise.

@param string $string

@return bool|string
Checks if multi - byte is available and returns encoding of optional string . False otherwise .