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: julia:
- 1.2 - 1.2
- nightly # - nightly
notifications: notifications:
email: false email: false
matrix: #matrix:
allow_failures: # allow_failures:
- julia: nightly # - julia: nightly
addons: addons:
apt: 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) # Version 1.3.0 (released on: Apr. 29, 2020)
- New features: - New features:

View File

@ -549,6 +549,11 @@ function GPSession(sid::Symbol)
if options.term == "" if options.term == ""
options.term = terminal() options.term = terminal()
end 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 return out
end end