private function recursiveUTF8Decode($result)
    {
        if (is_array($result)) {
            foreach ($result as &$value) {
                $value = $this->recursiveUTF8Decode($value);
            }
            return $result;
        } else {
            return utf8_decode($result);
        }
    }
private function recursiveUTF8Decode($result)
    {
        if (is_array($result)) {
            foreach ($result as &$value) {
                $value = $this->recursiveUTF8Decode($value);
            }
            return $result;
        } else {
            return utf8_decode($result);
        }
    }
private function recursiveUTF8Decode ( $ result ) { if ( is_array ( $ result ) ) { foreach ( $ result as & $ value ) { $ value = $ this -> recursiveUTF8Decode ( $ value ) ; } return $ result ; } else { return utf8_decode ( $ result ) ; } }
recursively decode utf8
recursively decode utf8