Prado\I18N\TI18NControl::getCharset PHP Метод

getCharset() публичный Метод

It is evaluated in the following order: 1) application charset, 2) the default charset in globalization 3) UTF-8
public getCharset ( ) : string
Результат string charset
    public function getCharset()
    {
        $app = $this->getApplication()->getGlobalization(false);
        //instance charset
        $charset = $this->getViewState('Charset', '');
        //fall back to globalization charset
        if (empty($charset)) {
            $charset = $app === null ? '' : $app->getCharset();
        }
        //fall back to default charset
        if (empty($charset)) {
            $charset = $app === null ? 'UTF-8' : $app->getDefaultCharset();
        }
        return $charset;
    }