Enum yaml_encoding_t

Description

The stream encoding.

Values

YAML_ANY_ENCODING

Let the parser choose the encoding.

YAML_UTF8_ENCODING

The default UTF-8 encoding.

Mentioned in:

Documentation / Emitter API Synopsis

YAML_UTF16LE_ENCODING

The UTF-16-LE encoding with BOM.

YAML_UTF16BE_ENCODING

The UTF-16-BE encoding with BOM.

Source

Lines 99-108 in include/yaml.h.

typedef enum yaml_encoding_e {
    /** Let the parser choose the encoding. */
    YAML_ANY_ENCODING,
    /** The default UTF-8 encoding. */
    YAML_UTF8_ENCODING,
    /** The UTF-16-LE encoding with BOM. */
    YAML_UTF16LE_ENCODING,
    /** The UTF-16-BE encoding with BOM. */
    YAML_UTF16BE_ENCODING
} yaml_encoding_t;





Add Discussion as Guest

Log in to DocsForge