Re: [dev] noice and NetBSD curses

From: Silvan Jegen <s.jegen_AT_gmail.com>
Date: Wed, 1 Aug 2018 19:26:35 +0200

On Wed, Aug 01, 2018 at 05:29:14PM +0200, Hiltjo Posthuma wrote:
> On Wed, Aug 01, 2018 at 11:57:38AM +0200, Silvan Jegen wrote:
> > On Wed, Aug 01, 2018 at 09:55:16AM +0200, Hiltjo Posthuma wrote:
> > > On Tue, Jul 31, 2018 at 04:35:30PM -0500, Cág wrote:
> > > > Hey,
> > > >
> > > > The thread is here[0], and I guess this is more of curses problem, but
> > > > since I first noticed it with noice, here it is.
> > > >
> > > > The question: what do rover and noice do differently, that the former
> > > > displays Unicode filenames right, and the latter only under the LC_ALL=C
> > > > local.
> > > >
> > >
> > > Maybe setlocale(LC_CTYPE, ""), not sure if that is correct. You could
> > > technically mix different locales in filenames or use (almost) any byte
> > > sequence though.
> >
> > According to the manpage, setlocale(LC_CTYPE, "") will read the locale
> > from the environment variables. I wonder if LC_ALL=C actually implies
> > UTF-8 encoding or not...
> >
>
> It does not.

Yeah, that was my guess too since I have seen something like "C.UTF-8"
before.

Then I am wondering why noice shows Unicode names with LC_ALL=C though.


Cheers,

Silvan

> > What does running 'locale' print on both machines?
> >
> >
> > Cheers,
> >
> > Silvan
> >
>
> --
> Kind regards,
> Hiltjo
>
Received on Wed Aug 01 2018 - 19:26:35 CEST

This archive was generated by hypermail 2.3.0 : Wed Aug 01 2018 - 19:36:07 CEST