Bug: Null-byte in csname not handled correctly
Dear devs, A control sequence that only contains a single null byte is not correctly stringified. Comparison between Knuth TeX and LuaTeX: $ tex test.tex ! \^^@. l.2 \errmessage{\string\^^@} $ luatex test.tex ! \. l.2 \errmessage{\string\^^@} MWE: \catcode0=11 \errmessage{\string\^^@} \bye Cheers, Henri
On Mon, Apr 11, 2022 at 8:16 PM Henri Menke
Dear devs,
A control sequence that only contains a single null byte is not correctly stringified. Comparison between Knuth TeX and LuaTeX:
$ tex test.tex ! \^^@. l.2 \errmessage{\string\^^@}
$ luatex test.tex ! \. l.2 \errmessage{\string\^^@}
MWE:
\catcode0=11 \errmessage{\string\^^@} \bye
looking at it. -- luigi
On Wed, Apr 13, 2022 at 9:29 AM luigi scarso
On Mon, Apr 11, 2022 at 8:16 PM Henri Menke
wrote: Dear devs,
A control sequence that only contains a single null byte is not correctly stringified. Comparison between Knuth TeX and LuaTeX:
$ tex test.tex ! \^^@. l.2 \errmessage{\string\^^@}
$ luatex test.tex ! \. l.2 \errmessage{\string\^^@}
MWE:
\catcode0=11 \errmessage{\string\^^@} \bye
looking at it.
Committed revision 7521. -- luigi
Dear Luigi, Thank you very much for all the quick fixes! Happy easter and kind regards, Henri On Mon, 2022-04-18 at 11:36 +0200, luigi scarso wrote:
On Wed, Apr 13, 2022 at 9:29 AM luigi scarso
wrote: On Mon, Apr 11, 2022 at 8:16 PM Henri Menke
wrote: Dear devs,
A control sequence that only contains a single null byte is not correctly stringified. Comparison between Knuth TeX and LuaTeX:
$ tex test.tex ! \^^@. l.2 \errmessage{\string\^^@}
$ luatex test.tex ! \. l.2 \errmessage{\string\^^@}
MWE:
\catcode0=11 \errmessage{\string\^^@} \bye
looking at it.
Committed revision 7521.
participants (2)
-
Henri Menke
-
luigi scarso