Re: [dev] noice and NetBSD curses

From: Hiltjo Posthuma <hiltjo_AT_codemadness.org>
Date: Wed, 1 Aug 2018 17:29:14 +0200

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.

> What does running 'locale' print on both machines?
>
>
> Cheers,
>
> Silvan
>

-- 
Kind regards,
Hiltjo
Received on Wed Aug 01 2018 - 17:29:14 CEST

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