8#ifndef hubbub_charset_detect_h_
9#define hubbub_charset_detect_h_
13#include <parserutils/errors.h>
17 uint16_t *mibenum, uint32_t *source);
parserutils_error hubbub_charset_extract(const uint8_t *data, size_t len, uint16_t *mibenum, uint32_t *source)
Extract a charset from a chunk of data.
Definition: detect.c:44
void hubbub_charset_fix_charset(uint16_t *charset)
Fix charsets, according to the override table in HTML5, section 8.2.2.2.
Definition: detect.c:682
uint16_t hubbub_charset_parse_content(const uint8_t *value, uint32_t valuelen)
Parse a content= attribute's value.
Definition: detect.c:369
size_t len
Definition: initial.c:23