Date: Fri, 3 Nov 2023 14:51:38 +0200 From: Christos Margiolis <christos@freebsd.org> To: Gary Jennejohn <garyj@gmx.de> Cc: freebsd-arch@freebsd.org, bojan.novkovic@fer.hr, imp@freebsd.org Subject: Re: HEADS UP: IUTF8 to be enabled by default Message-ID: <6k62glovuqzn6p5bt6hmqw3lwmcigvnnsjv5y66zpi2lpzi7xs@rtlhbrj447sp> In-Reply-To: <20231103081529.016be29d@ernst.home> References: <lrxccjlnihx5pke4hrufgebxmgrrbmlbd246o55phhzyhqlhfp@yxvipsuagrdc> <20231103081529.016be29d@ernst.home>
index | next in thread | previous in thread | raw e-mail
Gary Jennejohn wrote:
> Use getenv("LANG") and check whether UTF-8 is part of the string?
>
> My LANG is set to C.UTF-8, for example.
tty_init_termios() is a kernel function, so getenv(3) cannot be used.
Christos
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?6k62glovuqzn6p5bt6hmqw3lwmcigvnnsjv5y66zpi2lpzi7xs>
