![]() |
Vanilla.PDF
2.3.0
Cross-platform toolkit for creating and modifying PDF documents
|
Utilities for PDF text string encoding detection and PDFDocEncoding lookup. More...
Go to the source code of this file.
Enumerations | |
| enum | TextStringEncodingType { TextStringEncodingType_Undefined = 0 , TextStringEncodingType_PDFDocEncoding , TextStringEncodingType_UTF16BE , TextStringEncodingType_UTF8 } |
| Encoding types for PDF text strings (PDF spec 7.9.2.2). More... | |
Functions | |
| 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. | |
| error_type CALLING_CONVENTION | TextStringEncoding_PDFDocEncodingByteToUnicode (uint8_t byte, uint32_t *codepoint) |
| Map a single PDFDocEncoding byte to its Unicode code point. | |
Utilities for PDF text string encoding detection and PDFDocEncoding lookup.
Encoding types for PDF text strings (PDF spec 7.9.2.2).
PDF text strings can be encoded as PDFDocEncoding (no BOM), UTF-16BE (BOM 0xFEFF), or UTF-8 (BOM 0xEFBBBF).