7 texidoc = "PDF metadata need either Latin1 encoding (not UTF8) or full
8 UTF-16BE with BOM. The title field uses full UTF-16 (russian characters,
9 euro, etc), while the composer uses normal european diacrits (which need
10 to be encoded as Latin1, not as UTF8). Closing parenthesis need to be
11 escaped by a backslash AFTER encoding!"
13 % Non-latin1 text, requiring UTF-16BE (with BOM) encoding in PDF metatdata:
14 % closing parentheses and backslashed need to be escaped AFTER encoding!
15 title = "UTF-16BE title:² € ĂĄœŖŮůſЖюљ)\\\n ¡"
16 % Latin1 text, requiring at least PDFDocEncoding in PDF metadata, all Latin1
17 % characters coincide, so no special encoding is required, just print out
18 % the Latin1 characters (NOT the utf8 bytes!)
19 composer = "Latin1 composer (with special chars): Jöhånñ Strauß"
20 poet = "UTF-16BE with parentheses: ) € ĂĄœŖŮůſЖюљ"