Function yaml_emitter_set_unicode

Synopsis

#include <include/yaml.h>

void yaml_emitter_set_unicode(yaml_emitter_t *emitter, int unicode)

Description

Set if unescaped non-ASCII characters are allowed.

Parameters:

[ in,out ] emitter - An emitter object.

[ in ] unicode - If unescaped Unicode characters are allowed.

Set if unescaped non-ASCII characters are allowed.

Source

Lines 559-565 in src/api.c. Line 1895 in include/yaml.h.

YAML_DECLARE(void)
yaml_emitter_set_unicode(yaml_emitter_t *emitter, int unicode)
{
    assert(emitter);    /* Non-NULL emitter object expected. */

    emitter->unicode = (unicode != 0);
}





Add Discussion as Guest

Log in to DocsForge