protected function buildDetectOrder()
    {

        $detectOrder = [];

        foreach ($this->defaultDetectOrder as $i=>$charset) {
            if ($this->converter->canConvert($charset)) {
                $detectOrder[] = $charset;
            }
        }

        return $detectOrder;

    }
protected function buildDetectOrder()
    {

        $detectOrder = [];

        foreach ($this->defaultDetectOrder as $i=>$charset) {
            if ($this->converter->canConvert($charset)) {
                $detectOrder[] = $charset;
            }
        }

        return $detectOrder;

    }
protected function buildDetectOrder ( ) { $ detectOrder = [ ] ; foreach ( $ this -> defaultDetectOrder as $ i => $ charset ) { if ( $ this -> converter -> canConvert ( $ charset ) ) { $ detectOrder [ ] = $ charset ; } } return $ detectOrder ; }
Filters the detect order charsets by the support of the system.

@return array
Filters the detect order charsets by the support of the system .