<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">% -*- mode: tex -*-
%-
% See unicodedomino.sty for copyright and licence terms. Furthermore
% this file is dual-licenced under the LPPL version 1.3c or later.
%-
% 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 hex Unicode codepoint correctly
\gdef\UTFviii@hexcodepoint#1{%
 \ifnum#1&lt;16 U+000%
 \else\ifnum#1&lt;256 U+00%
 \else\ifnum#1&lt;4096 U+0%
 \else\ifnum#1&lt;65536 U+%
 \else\ifnum#1&lt;1048576 U-000%
 \else U-00%
 \fi\fi\fi\fi\fi%
 \UTFviii@hexnumber{#1}%
}%
</pre></body></html>