Bug#991686: gnuplot: invalid utf8 input via terminal
Łukasz Stelmach
steelman at post.pl
Fri Jul 30 10:36:00 BST 2021
Package: gnuplot
Version: 5.2.6+dfsg1-1+deb10u1
Severity: normal
Dear Maintainer,
1. Start gnuplot under xterm.
2. Type or paste the command:
print "zażółć gęślą jaźń"
3. Gnuplot improperly displays the command typed as:
print "zażóÅÄ gÄÅlÄ jaźÅ"
The string printed by the command is also invalid.
4. Gnuplot should display edited command and print the string as
presented in point 2.
Possible fix:
Don't use BSD readline library which doesn't support UTF-8 as explained
in the help message of gnuplot's configure script:
--with-readline=bsd use the NetBSD editline library (NB: does not handle UTF-8!)
-- System Information:
Debian Release: 10.10
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.19.0-17-amd64 (SMP w/4 CPU cores)
Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8), LANGUAGE=pl_PL.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages gnuplot depends on:
ii gnuplot-qt [gnuplot-x11] 5.2.6+dfsg1-1+deb10u1
gnuplot recommends no packages.
Versions of packages gnuplot suggests:
ii gnuplot-doc 5.2.6+dfsg1-1+deb10u1
-- no debconf information
--
Miłego dnia,
Łukasz Stelmach
More information about the debian-science-maintainers
mailing list