https://gcc.gnu.org/bugzilla/show_bug.cgi?id=124641
--- Comment #17 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Though, maybe another possibility is https://lists.gnu.org/archive/html/bug-dejagnu/2026-03/msg00000.html https://gcc.gnu.org/pipermail/gcc-patches/2026-February/708794.html and make sure to run expect during make check with LC_ALL=C. At least, our distro builds do that and I haven't seen any of the issues here. So supposedly tcl when running under LC_ALL=C doesn't assume all channels are UTF-8 by default, but uses one-byte encoding instead.
