On Tue, Feb 07, 2023 at 06:43:29PM +0100, Jakub Wilk wrote:
> Apparently displayfont(1) turns off the UTF-8 mode:
Indeed:
sub displayfont
print "\e%G"; # UTF-8 mode ON
foreach my $i (0..15) {
# whatever
}
print "\e%@"; # UTF-8 mode OFF
and it also breaks my xterm (st).I don't think there's a way to query this directly (I'm going by "grepping st.c") but it could probably get restored if we're in stty iutf8 mode? Enabling it unconditionally seems worse, since clearly the default state for... some people? sometimes? is -iutf8.
signature.asc
Description: PGP signature

