|
From: Harald H. <h.h...@tu...> - 2005-07-05 16:18:59
|
J=FCrgen, > A colleague just asked me how to use Umlauts with gnuplot on his > box. As he uses SuSE 9.3, the default encoding is UTF-8. That > isn't supported by "set encoding" yet. So I had to refer to latin1, > ps_guide.ps and all the funny "\340" octal codes. That's of course > far from being convenient. A more convenient workaround would be to > switch the encoding within emacs for gnuplot files, but... If I remember correctly, the low byte of UTF-8 is identical with either latin1 or latin9. Thus, using =BBset encoding iso_8859_1=AB should also wor= k with UTF-8 (and in fact it worked for me today at work) as long as you don't use characters above \377. > So my question: Is it possible to add UTF to "set encoding"? At > least for the postscript terminal? What does the postscript > standard say about UTF? Postscript can only handle 255 characters per font encoding. Thus, it does not work with UTF-8. It may be possible to add a second and third encoding that contains the encoding vectors for UTF-8 fonts. Thus, 255 characters will be put into one font. E.g., /Times-Roman, /Times-Roman-1, /Times-Roman-2. But this is just theoretical, not yet implemented in gnuplot. Best regards Harald --=20 Harald Harders h.h...@tu... http://www.harald-harders.de |