roundcubemail/plugins/zipdownload/zipdownload.php
private function _convert_filename($str)
    {
        $str = strtr($str, array(':' => '', '/' => '-'));

        return rcube_charset::convert($str, RCUBE_CHARSET, $this->charset);
    }
private function _convert_filename($str)
    {
        $str = strtr($str, array(':' => '', '/' => '-'));

        return rcube_charset::convert($str, RCUBE_CHARSET, $this->charset);
    }
private function _convert_filename ( $ str ) { $ str = strtr ( $ str , array ( ':' => '' , '/' => '-' ) ) ; return rcube_charset :: convert ( $ str , RCUBE_CHARSET , $ this -> charset ) ; }
Helper function to convert filenames to the configured charset
Helper function to convert filenames to the configured charset