Set utf8 encoding on gnuplot start

This commit is contained in:
Giorgio Calderone 2020-05-05 11:44:08 +02:00
parent 1877deef7f
commit 83c59ae682
3 changed files with 17 additions and 4 deletions

View File

@ -7,14 +7,14 @@ os:
julia:
- 1.2
- nightly
# - nightly
notifications:
email: false
matrix:
allow_failures:
- julia: nightly
#matrix:
# allow_failures:
# - julia: nightly
addons:
apt:

View File

@ -1,3 +1,11 @@
# Version 1.3.1 (not yet released)
- Bugfix:
* Multiplot were not displayed in Jupyter (#25);
* `gpvars()` fails if gnuplot character encoding is utf8
(#24);
# Version 1.3.0 (released on: Apr. 29, 2020)
- New features:

View File

@ -549,6 +549,11 @@ function GPSession(sid::Symbol)
if options.term == ""
options.term = terminal()
end
# The stderr of the gnuplot process goes to Julia which can parse
# UTF8 characters (regardless of the terminal).
gpexec("set encoding utf8")
return out
end