code: func yaml_emitter_set_encoding(emitter *yaml_emitter_t, encoding yaml_encoding_t) {
  	if emitter.encoding != yaml_ANY_ENCODING {
  		panic("must set the output encoding only once")
  	}
  	emitter.encoding = encoding
  }
docs: // Set the output encoding.