Skip to content

hyperref Warning: "Glyph not defined in PU encoding" in title, author, etc., for non-Unicode input encoding #889

@alekhe

Description

@alekhe

I’m using 8-bit input encoding and some sort of a clash happens with encodings for hyperref. For my \title, \subtitle and \author (which I set in the preamble), I get

Package hyperref Warning: Glyph not defined in PU encoding,
(hyperref)                removing `\CYRN' on input line 12.
...

The title page is correctly produced, but the PDF properties (title and author) do not contain removed symbols. Everything is alright if I use article and hyperref.

Example:

\documentclass{beamer}
%\documentclass{article}
\usepackage[T2A]{fontenc}
\usepackage[cp866]{inputenc}
\usepackage[russian]{babel}
%\usepackage{hyperref}
%\hypersetup{
%	pdftitle={Название hyper},
%	pdfauthor={Автор hyper},
%}

\title{Название main}
\author{Автор main}
\begin{document}
\maketitle
\end{document}

I tried usepdftitle=false with \hypersetup{...}, and hyperref={unicode=true} in options, but no success.

Everything’s fine if UTF-8 inputenc is used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions