source/Core/Language.php
protected function _recodeLangArray($aLangArray, $sCharset, $blRecodeKeys = false)
    {
        $newEncoding = $this->getTranslationsExpectedEncoding();

        if ($sCharset == $newEncoding) {
            return $aLangArray;
        }
        if ($blRecodeKeys) {
            $aLangArray = $this->_recodeLangArrayWithKeys($aLangArray, $sCharset, $newEncoding);
        } else {
            $this->_recodeLangArrayValues($aLangArray, $sCharset, $newEncoding);
        }

        return $aLangArray;
    }
protected function _recodeLangArray($aLangArray, $sCharset, $blRecodeKeys = false)
    {
        $newEncoding = $this->getTranslationsExpectedEncoding();

        if ($sCharset == $newEncoding) {
            return $aLangArray;
        }
        if ($blRecodeKeys) {
            $aLangArray = $this->_recodeLangArrayWithKeys($aLangArray, $sCharset, $newEncoding);
        } else {
            $this->_recodeLangArrayValues($aLangArray, $sCharset, $newEncoding);
        }

        return $aLangArray;
    }
protected function _recodeLangArray ( $ aLangArray , $ sCharset , $ blRecodeKeys = false ) { $ newEncoding = $ this -> getTranslationsExpectedEncoding ( ) ; if ( $ sCharset == $ newEncoding ) { return $ aLangArray ; } if ( $ blRecodeKeys ) { $ aLangArray = $ this -> _recodeLangArrayWithKeys ( $ aLangArray , $ sCharset , $ newEncoding ) ; } else { $ this -> _recodeLangArrayValues ( $ aLangArray , $ sCharset , $ newEncoding ) ; } return $ aLangArray ; }
Goes through language array and recodes its values if encoding does not fit with needed one. Returns recoded data

@param array  $aLangArray   language data
@param string $sCharset     charset which was used while making file
@param bool   $blRecodeKeys leave keys untouched or recode it

@deprecated since 6.0 (2016-12-07) As the shop installation is utf-8, this method will be removed.

@return array
Goes through language array and recodes its values if encoding does not fit with needed one . Returns recoded data