src/FACTFinder/Core/AbstractEncodingConverter.php
protected function convert($inCharset, $outCharset, $data)
    {
        if($inCharset == $outCharset) {
            return $data;
        }
        return $this->convert_recursive($inCharset, $outCharset, $data);
    }
protected function convert($inCharset, $outCharset, $data)
    {
        if($inCharset == $outCharset) {
            return $data;
        }
        return $this->convert_recursive($inCharset, $outCharset, $data);
    }
Converts data from $inCharset to $outCharset.
@param mixed $data If a string is given, it's encoding will be converted.
If an associative array is given, keys and values will be
converted recursively. All other data types will be returned
unchanged.
@return mixed