public static function get_encoded_delimiter($delimiter_name) {
        global $CFG;
        if ($delimiter_name == 'cfg' and isset($CFG->CSV_ENCODE)) {
            return $CFG->CSV_ENCODE;
        }
        $delimiter = csv_import_reader::get_delimiter($delimiter_name);
        return '&#'.ord($delimiter);
    }
public static function get_encoded_delimiter($delimiter_name) {
        global $CFG;
        if ($delimiter_name == 'cfg' and isset($CFG->CSV_ENCODE)) {
            return $CFG->CSV_ENCODE;
        }
        $delimiter = csv_import_reader::get_delimiter($delimiter_name);
        return '&#'.ord($delimiter);
    }
public static function get_encoded_delimiter ( $ delimiter_name ) { global $ CFG ; if ( $ delimiter_name == 'cfg' and isset ( $ CFG -> CSV_ENCODE ) ) { return $ CFG -> CSV_ENCODE ; } $ delimiter = csv_import_reader :: get_delimiter ( $ delimiter_name ) ; return '&#' . ord ( $ delimiter ) ; }
Get encoded delimiter character

@global object
@param string separator name
@return string encoded delimiter char
Get encoded delimiter character