Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.graphics.apps.gnuplot > #2332

Re: UTF-8 encoding

Newsgroups comp.graphics.apps.gnuplot
Date 2014-03-02 11:11 -0800
References <levoku$sct$1@speranza.aioe.org>
Message-ID <c472cc2d-4cb8-41bd-93a9-c17f07a6d097@googlegroups.com> (permalink)
Subject Re: UTF-8 encoding
From me.kalin@gmail.com

Show all headers | View raw


On Monday, March 3, 2014 2:09:53 AM UTC+9, Janis Papanagnou wrote:
> I have problems making UTF-8 characters be printed correctly in a png term.
> My whole system is configured to process everything in UTF-8.
> 
It is not the UTF-8, it is the default font gnuplot is using, just set it explicitly (Even using path to TTF file should work, AFAIR).
This works for me:

gnuplot -e 'set term png font "Arial Unicode MS"; set xrange [0:2*3.14]; plot sin(x) w l title "Това е синус,ブルガリ語で"' >a.png; display a.png

Kalin.

Back to comp.graphics.apps.gnuplot | Previous | NextPrevious in thread | Find similar


Thread

UTF-8 encoding Janis Papanagnou <janis_papanagnou@hotmail.com> - 2014-03-02 18:09 +0100
  Re: UTF-8 encoding me.kalin@gmail.com - 2014-03-02 11:11 -0800

csiph-web