Skip to content
Snippets Groups Projects
Verified Commit 39dcda1f authored by mirabilos's avatar mirabilos Committed by mirabilos
Browse files

find first version of \UTFviii@invalid@err fix upstreamed

parent e7cbcc7f
No related branches found
No related tags found
No related merge requests found
...@@ -44,3 +44,12 @@ ...@@ -44,3 +44,12 @@
\the\numexpr\decode@UTFviii#2\relax})% \the\numexpr\decode@UTFviii#2\relax})%
}% }%
\fi% \fi%
% added in v1.2f 2018/10/05
\ifx\UTFviii@two@octets@combine\@undefined%
% override message to give the byte in hex
\def\UTFviii@invalid@err#1{%
\PackageError{inputenc}{Invalid UTF-8 byte "\UTFviii@hexnumber{`#1}}%
\UTFviii@invalid@help%
}%
\fi%
...@@ -5,15 +5,6 @@ ...@@ -5,15 +5,6 @@
%- %-
% Improve error and warning formatting. % Improve error and warning formatting.
%: merged, but ifx yet to see
\ifx\UTFviii@check@three\@undefined%
% override message to give the byte in hex
\def\UTFviii@invalid@err#1{%
\PackageError{inputenc}{Invalid UTF-8 byte "\UTFviii@hexnumber{`#1}}%
\UTFviii@invalid@help%
}%
\fi%
% override to format a UCS codepoint (hexadecimal notation) correctly % override to format a UCS codepoint (hexadecimal notation) correctly
\gdef\UTFviii@hexcodepoint#1{% \gdef\UTFviii@hexcodepoint#1{%
\ifnum#1<16 U+000% \ifnum#1<16 U+000%
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment