{- |
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.
-}
module Graphics.Gnuplot.Encoding (
   T,
   locale, deflt,
   iso_8859_1, iso_8859_15, iso_8859_2, iso_8859_9,
   koi8r, koi8u,
   cp437, cp850, cp852, cp950, cp1250, cp1251, cp1254,
   sjis, utf8,
   ) where

import Graphics.Gnuplot.Private.Encoding (T(Cons))


locale, deflt,
   iso_8859_1, iso_8859_15, iso_8859_2, iso_8859_9,
   koi8r, koi8u,
   cp437, cp850, cp852, cp950, cp1250, cp1251, cp1254,
   sjis, utf8 :: T

locale :: T
locale      = String -> T
Cons String
"locale"
deflt :: T
deflt       = String -> T
Cons String
"default"
iso_8859_1 :: T
iso_8859_1  = String -> T
Cons String
"iso_8859_1"
iso_8859_15 :: T
iso_8859_15 = String -> T
Cons String
"iso_8859_15"
iso_8859_2 :: T
iso_8859_2  = String -> T
Cons String
"iso_8859_2"
iso_8859_9 :: T
iso_8859_9  = String -> T
Cons String
"iso_8859_9"
koi8r :: T
koi8r       = String -> T
Cons String
"koi8r"
koi8u :: T
koi8u       = String -> T
Cons String
"koi8u"
cp437 :: T
cp437       = String -> T
Cons String
"cp437"
cp850 :: T
cp850       = String -> T
Cons String
"cp850"
cp852 :: T
cp852       = String -> T
Cons String
"cp852"
cp950 :: T
cp950       = String -> T
Cons String
"cp950"
cp1250 :: T
cp1250      = String -> T
Cons String
"cp1250"
cp1251 :: T
cp1251      = String -> T
Cons String
"cp1251"
cp1254 :: T
cp1254      = String -> T
Cons String
"cp1254"
sjis :: T
sjis        = String -> T
Cons String
"sjis"
utf8 :: T
utf8        = String -> T
Cons String
"utf8"