Re: IUTF8 on by default

From: Christos Margiolis <christos_at_freebsd.org>
Date: Thu, 02 Nov 2023 09:19:18 UTC
Hello,

What do you think about this? Would there be any significant
side-effects or breakages if we enable this option by default? For
context, look at the PR description.

Christos

Warner Losh wrote:
> I'd post this to arch@. I think it's a good idea, but I don't know the
> larger implications.
> 
> Warner
> 
> On Mon, Oct 30, 2023 at 12:46 PM Christos Margiolis <christos@freebsd.org>
> wrote:
> 
> > I was thinking about the discussion we had in D42067 [1] about whether
> > the IUTF8 flag should be enabled by default. Warner suggested that since
> > the default locale is UTF-8, setting IUTF8 by default shouldn't be too
> > bad.
> >
> > Do you think we should go ahead with this change and have it enabled by
> > default in sys/sys/ttydefaults.h, or add a check in tty_init_termios()
> > whether the current locale is UTF-8, and manually enable it there?
> >
> > Christos
> >
> > [1] https://reviews.freebsd.org/D42067