pub fn decode_text_string(bytes: &[u8]) -> String
Decodes a PDF text string: UTF-16BE with BOM, UTF-8 with BOM (PDF 2.0), otherwise byte-per-char fallback in the spirit of PDFDocEncoding (approximately Latin-1).