From: Pieter-Tjerk de B. <p.t...@ut...> - 2020-06-24 09:56:40
|
On Tue, Jun 23, 2020 at 10:43:32PM -0700, Dima Kogan wrote: > I use Debian and the x11 terminal routinely, and have never seen this > issue. > > Ethan: if there's some sort of utf-8 issue as you suspect, would it show > up in "show encoding"? I see this on my machine: > > gnuplot> show encoding > > nominal character encoding is default > however LC_CTYPE in current locale is C In Debian's native gnuplot 5.2pl6 I get: gnuplot> show encoding nominal character encoding is default however LC_CTYPE in current locale is C.UTF-8 while in 5.4rc2 I get: gnuplot> show encoding nominal character encoding is utf8 however LC_CTYPE in current locale is C.UTF-8 Setting encoding to "default" rather than "utf8" indeed fixes the problem I had in the x11 terminal on 5.4rc2. > I guess the locale being "C" means I'm not doing unicode, and that's why > things work for me? Ah, interesting: if I start gnuplot 5.4rc2 with LC_CTYPE set to C, I get the same as you: gnuplot> show encoding nominal character encoding is default however LC_CTYPE in current locale is C So, somehow, Debian's native gnuplot sets encoding to default even in the C.UTF-8 locale, while 5.4rc2 only does that in the C locale. Thanks for the help; this provides me with sufficient ways to circumvent the problem. Regards, Pieter-Tjerk |