original_string: 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);
      }
code: 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);
      }
code_tokens: 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 ) ; }
docstring: Get encoded delimiter character
  
  @global object
  @param string separator name
  @return string encoded delimiter char
docstring_tokens: Get encoded delimiter character