code: def _compile_create_encoding(self, sql, connection, blueprint):
          
          charset = blueprint.charset or connection.get_config("charset")
          if charset:
              sql += " DEFAULT CHARACTER SET %s" % charset
  
          collation = blueprint.collation or connection.get_config("collation")
          if collation:
              sql += " COLLATE %s" % collation
  
          return sql
docs: Append the character set specifications to a command.
  
          :type sql: str
          :type connection: orator.connections.Connection
          :type blueprint: Blueprint
  
          :rtype: str