After upgrading to TeX Live 2020, one of our beamer presentations is chucking this error up.
I've been trying to track down where the invalid byte comes from and I've narrowed it down to a macro in our (custom) beamer style. However the file contains no non-ascii characters (and thus no invalid utf-8 chars).
The presentation file itself does contain some non-ascii accented characters, but deleting them doesn't make the error go away.
This leaves me confused. I'm not even sure how to interpret the error message. What is a "A0
byte? Is that 0xa0
? Does the double quote have some special meaning?
EDIT: I've managed to boil it down to this:
\documentclass{article}
\usepackage{clefval}
\TheKey{j}{Joe}
\begin{document}
\TheValue{j}
\end{document}
Will give:
! Package inputenc Error: Invalid UTF-8 byte "A0.
See the inputenc package documentation for explanation.
Type H <return> for immediate help.
...
l.11 \TheValue{j}
And I'm willing to bet this is the problem in clefval.sty:
\nfss@text{\reset@font\bfseries^^a0????}%
Best Answer
The
clefval
package has been updated; the current version is 0.1, released on 2020/07/27. Adiff
between the old and new versions showsand the last line is the key.
The error is no longer produced.