I'm using LaTeX to generate a PDF and need to use some special characters from the german language. That works with the document itself but I have problems using "ß" in the PDF meta data, they get stripped. Other special characters like "ä" or "Ü" work though.
Here's a pretty minimal example:
Code: Select all
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[ngerman]{babel}
%\usepackage{hyperxmp} % provide PDF with XMP metadata
\usepackage[%
pdfauthor={äÄöÖüÜß},
pdftitle={äÄöÖüÜß},
pdflang={de},
pdfpagelabels=true,
% unicode=true,
]{hyperref}
\begin{document}
äÄöÖüÜß --- blah blah blah
\end{document}
Code: Select all
Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref) removing `\T1\ss' on input line 2864.
Package hyperref Warning: Token not allowed in a PDF string (PDFDocEncoding):
(hyperref) removing `\T1\ss' on input line 2864.