gnuplot-0.5.6.1: 2D and 3D plots using gnuplot

Safe HaskellSafe
LanguageHaskell98

Graphics.Gnuplot.Encoding

Description

Support for special characters

Gnuplot has no universal Unicode escaping mechanism, you can only work with encodings. However, not all terminals support all encodings, not all terminals even support utf-8. Some terminals seem to support only one encoding. E.g. WX seems to support only UTF-8, X11 seems to support only Latin-1. Postscript, SVG, PNG seem to support both UTF-8 and Latin-1.

The gnuplot Haskell bindings always write using the system-wide default encoding. Thus it is better not to set an encoding other than locale explicitly. However, if you write the files yourself in a certain encoding you should use the encoding option of the according terminal.

Documentation

data T Source #