[go: up one dir, main page]

Function decode_text_string

Source
pub fn decode_text_string(obj: &Object) -> Result<String>
Expand description

Decodes a text string. Depending on the BOM at the start of the string, a different encoding is chosen. All encodings specified in PDF2.0 are supported (PDFDocEncoding, UTF-16BE, and UTF-8).