Ticket #391 (history is broken).
commitcf363ad022690b3aa5b9a4f9c75cf8884660abe8
authorSlava Zanko <slavazanko@gmail.com>
Wed, 8 Jul 2009 12:17:10 +0000 (8 15:17 +0300)
committerSlava Zanko <slavazanko@gmail.com>
Mon, 13 Jul 2009 08:53:16 +0000 (13 11:53 +0300)
treec2d3b6c1c7b066769db88513a12e1713bf8a7dcc
parent944d1cf9618fcda2e04acdc380e75b747f20f451
Ticket #391 (history is broken).

Reason:
glib ini-function works only with UTF-8 in files. Bug raised if system charset not UTF-8.

Issue:
 * recode to utf-8 before saving values of ini-params and
 * recode from utf-8 after reading values of ini-params

Also fixed:
 * if system codepage is not UTF-8, panelize named is always in utf-8 and seems as non-sense string.
 * Recode panelize command names into system codepage from utf-8
 * global variable utf8_display now initialized in any case (non-relative to ENABLE_CHARSET)

Signed-off-by: Slava Zanko <slavazanko@gmail.com>
src/main.c
src/main.h
src/mcconfig/get.c
src/mcconfig/set.c
src/panelize.c