TextStringEncodingType
Encoding types for PDF text strings (PDF spec 7.9.2.2).
Definition c_text_string_encoding.h:23
@ TextStringEncodingType_UTF16BE
UTF-16 big-endian encoding. Indicated by byte order mark 0xFEFF at the start of the string.
Definition c_text_string_encoding.h:36
@ TextStringEncodingType_PDFDocEncoding
Single-byte encoding defined in PDF spec Table D.2. No byte order mark is present.
Definition c_text_string_encoding.h:30
@ TextStringEncodingType_UTF8
UTF-8 encoding (PDF 2.0). Indicated by byte order mark 0xEFBBBF at the start of the string.
Definition c_text_string_encoding.h:42
error_type CALLING_CONVENTION TextStringEncoding_Detect(string_type data, size_type size, TextStringEncodingType *result)
Detect the encoding of a PDF text string from its raw bytes.