Re: [dev] noice and NetBSD curses

From: Silvan Jegen <s.jegen_AT_gmail.com>
Date: Wed, 1 Aug 2018 11:57:38 +0200

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...

What does running 'locale' print on both machines?


Cheers,

Silvan
Received on Wed Aug 01 2018 - 11:57:38 CEST

This archive was generated by hypermail 2.3.0 : Wed Aug 01 2018 - 12:00:08 CEST