public static function setCharacterSet(string $characterSet, string $collate): void
  {
    $sql = sprintf('set names %s collate %s', self::$dl->quoteString($characterSet), self::$dl->quoteString($collate));

    self::executeNone($sql);
  }
public static function setCharacterSet(string $characterSet, string $collate): void
  {
    $sql = sprintf('set names %s collate %s', self::$dl->quoteString($characterSet), self::$dl->quoteString($collate));

    self::executeNone($sql);
  }
public static function setCharacterSet ( string $ characterSet , string $ collate ) : void { $ sql = sprintf ( 'set names %s collate %s' , self :: $ dl -> quoteString ( $ characterSet ) , self :: $ dl -> quoteString ( $ collate ) ) ; self :: executeNone ( $ sql ) ; }
Sets the default character set and collate.

@param string $characterSet The character set.
@param string $collate      The collate.
Sets the default character set and collate .