diff --git a/src/neutrino.cpp b/src/neutrino.cpp index 7e2f62081..51ae3a1d5 100644 --- a/src/neutrino.cpp +++ b/src/neutrino.cpp @@ -435,6 +435,7 @@ int CNeutrinoApp::loadSetup(const char * fname) sprintf(cfg_key, "pref_subs_%d", i); g_settings.pref_subs[i] = configfile.getString(cfg_key, "none"); } + g_settings.subs_charset = configfile.getString("subs_charset", "CP1252"); g_settings.zap_cycle = configfile.getInt32( "zap_cycle", 0 ); //vcr @@ -945,6 +946,7 @@ void CNeutrinoApp::saveSetup(const char * fname) sprintf(cfg_key, "pref_subs_%d", i); configfile.setString(cfg_key, g_settings.pref_subs[i]); } + configfile.setString("subs_charset", g_settings.subs_charset); //vcr configfile.setBool("vcr_AutoSwitch" , g_settings.vcr_AutoSwitch ); diff --git a/src/system/settings.h b/src/system/settings.h index 460e17744..a162462cc 100644 --- a/src/system/settings.h +++ b/src/system/settings.h @@ -138,6 +138,7 @@ struct SNeutrinoSettings std::string pref_lang[3]; std::string pref_subs[3]; + std::string subs_charset; // EPG int epg_save;