Re: IUTF8 on by default

Christos Margiolis <[email protected]>
Newsgroups gmane.os.freebsd.architechture
Message-ID <bz6t6kyqej5dv63wd3sh2xhuneqe6pi3p3fndie4qpsscdfu6h@i5llxl2rlrb6>
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 <[email protected]>
> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.