Save encoding in session as text
commitf53f37c578161c0b780443f1a800bb67a6386820
authorLex Trotman <elextr@gmail.com>
Mon, 3 Sep 2012 08:36:39 +0000 (3 18:36 +1000)
committerLex Trotman <elextr@gmail.com>
Mon, 3 Sep 2012 08:36:39 +0000 (3 18:36 +1000)
treec3559e042eeed1c059ab9341b8812617b914ddf9
parentc05f1bdd448e2e2b327b69224608a1e7c01d5b99
Save encoding in session as text

Since reading locale and reading encodings from within files by regex
can find encodings not on the Geany list, saving as text ensures that
any encoding found can be saved in the session, otherwise a file can
be opened but will not re-open because the encoding cannot be saved
in the session.  Since numeric encoding names exist prefix the text
name by 'E' so they can be distinguished from saved numeric indexes.
src/keyfile.c