Suppose I use ' as active character to insert another symbol:
{\tt A'C B}
\def\adef#1{\catcode`#1=13 \begingroup \lccode`\~=`#1\lowercase{\endgroup\def~}}
\let\oldtt\tt\def\tt{\adef'{\char"0D}\oldtt}
{\tt A'C B}
{\tt A'c B}
\bye
Log file contains this:
Missing character: There is no ^^dc in font cmtt10!
Why in the second case the result is not A'C B, although the third case works as expected?
\relaxbe used in such cases instead of space? – Igor Liferenko May 25 '15 at 01:57\relaxmay be bad in cases where full expandability is needed. In the case of\char, there's no problem. – egreg May 25 '15 at 06:25