[tex-live] locale dependent writing to log/terminal is *broken*

Thomas Esser te at dbs.uni-hannover.de
Sat Sep 20 14:10:36 CEST 2003


> That means, that not the caracter to be printed is checked, but something
> else. That's wrong and that explains Staszek's gerbage.

The following patch seems to fix the problem:

--- orig/tex.ch Sun Apr  6 20:51:32 2003
+++ tex.ch      Sat Sep 20 12:48:24 2003
@@ -799,7 +799,7 @@
   end;
 k:=s;
 if ((selector<=no_print)and(@<Character |k| cannot be printed@>))
-   or((selector>no_print)and(not isprint(k)))
+   or((selector>no_print)and(not isprint(xchr[k])))
 then begin print_visible_char("^"); print_visible_char("^");
   if s<64 then print_visible_char(s+64)
   else if s<128 then print_visible_char(s-64)

Thomas


More information about the tex-live mailing list