Set utf8 encoding on gnuplot start
This commit is contained in:
parent
1877deef7f
commit
83c59ae682
@ -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:
|
||||
|
||||
@ -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:
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user